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).
MediumCVSS 6.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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).
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libbpf(Debian 12) | < 0.7.0-2 | 0.7.0-2 | Fixed |
| debian/libbpf(Debian 13) | < 0.7.0-2 | 0.7.0-2 | Fixed |
| debian/libbpf(Debian 14) | < 0.7.0-2 | 0.7.0-2 | Fixed |
| libbpf project libbpf | = 0.6.0; = 0.6.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libbpf(Debian:12) | < 0.7.0-2 | 0.7.0-2 |
| debian/libbpf(Debian:13) | < 0.7.0-2 | 0.7.0-2 |
| debian/libbpf(Debian:14) | < 0.7.0-2 | 0.7.0-2 |
| libbpf project libbpf | = 0.6.0 | No fix listed |
| libbpf project libbpf | = 0.6.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-45940 vendor-advisory
- bugs.chromium.org exploit issue-tracking third-party-advisory
- github.com exploit third-party-advisory