Buffer overflow in Libbpf Project
CVE-2021-45940
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.013 · 69.9th percentile
- Published
- 2022-01-01
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).
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.013, 69.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libbpf Project — versions 0.6.0, 0.6.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1562.yaml (Exploit, Third Party Advisory)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Exploit, Third Party Advisory, Issue Tracking)