CVE-2021-45940
6.5
MEDIUM
CVSS 3.1
EPSS 0.16%
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).
How to fix CVE-2021-45940
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- Bitnami/bpftool—no fix listed
- Debian/libbpf—no fix listed
Is CVE-2021-45940 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.6.0, <= 0.6.0, >= 0.6.1, <= 0.6.1
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |