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 trend (30 days)EPSS over the last 30 days for CVE-2021-45941: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: -0.000

Affected products

Weakness classification (CWE)

References

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.