Buffer overflow in Libbpf Project
CVE-2021-45941
libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (8 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.
EPSS exploit prediction
EPSS: 0.011 (64.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: -0.000
Affected products
- Libbpf Project — versions 0.6.0, 0.6.1
Weakness classification (CWE)
References
- github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yaml (Exploit, Third Party Advisory)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Exploit, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2021-45941?
- CVE-2021-45941 is a medium-severity vulnerability in Libbpf Project, classified under Out-of-bounds Write. CVSS score: 6.5/10. Published 2022-01-01.
- How severe is CVE-2021-45941?
- Medium severity. CVSS v3 base score is 6.5 out of 10.