Name | CVE-2021-45941 |
Description | 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). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libbpf (PTS) | bullseye | 0.3-2 | vulnerable |
| bookworm, sid | 0.8.0-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libbpf | source | (unstable) | (unfixed) | | | |
Notes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40957
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yaml
check details on fixing commit upstream, furthermore intorducing commit is only when oss-fuzz started