Buffer overflow in Libbpf_project Libbpf

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

EPSS: 0.011 (61.5th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2021-45941?
CVE-2021-45941 is a medium-severity vulnerability in Libbpf_project Libbpf, 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.