Vulnerability · Published Dec 31, 2021 · Assigned by mitre
CVE-2021-45940
Medium 6.5
In plain English
A medium-severity security flaw in the libbpf package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.2%top 30.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open (called from bpf_object__open_mem and bpf-object-fuzzer.c).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libbpf | 0.7.0-2 | DEBIAN-CVE-2021-45940 |
| Debian:13 | libbpf | 0.7.0-2 | DEBIAN-CVE-2021-45940 |
| Debian:14 | libbpf | 0.7.0-2 | DEBIAN-CVE-2021-45940 |