CVE-2021-45940

MEDIUMCVSS 6.5/10EPSS 1.13%

Last modified

CVE-2021-45940 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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).. EPSS estimates a 1.13% chance of exploitation in the next 30 days.

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).

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.13%

62.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Libbpf ProjectLibbpf0.6.0
Libbpf ProjectLibbpf0.6.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-45940?
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).
How severe is CVE-2021-45940?
CVE-2021-45940 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.13% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45940?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-45940?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST