Time-of-check Time-of-use (TOCTOU) Affecting bpftool package, versions <0:4.18.0-513.5.1.el8_9


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-BPFTOOL-6090310
  • published27 Nov 2023
  • disclosed14 Nov 2023

Introduced: 14 Nov 2023

CVE-2023-4155  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 bpftool to version 0:4.18.0-513.5.1.el8_9 or higher.
This issue was patched in ALSA-2023:7077.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bpftool package and not the bpftool package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A flaw was found in KVM AMD Secure Encrypted Virtualization (SEV) in the Linux kernel. A KVM guest using SEV-ES or SEV-SNP with multiple vCPUs can trigger a double fetch race condition vulnerability and invoke the VMGEXIT handler recursively. If an attacker manages to call the handler multiple times, they can trigger a stack overflow and cause a denial of service or potentially guest-to-host escape in kernel configurations without stack guard pages (CONFIG_VMAP_STACK).

CVSS Scores

version 3.1