cbcvebase.
CVE-2021-45940
published 2022-01-01

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

PriorityP428medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.13%
63.1th percentile
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).

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlibbpf< libbpf 0.7.0-2 (bookworm)libbpf 0.7.0-2 (bookworm)
libbpf_projectlibbpf
libbpf_projectlibbpf
libbpf_projectlibbpf>= 0 < 0.7.0-20.7.0-2
libbpf_projectlibbpf>= 0 < 0.7.0-20.7.0-2
libbpf_projectlibbpf>= 0 < 0.7.0-20.7.0-2
libbpf_projectlibbpf>= 0 < 0.5.0-1ubuntu22.04.10.5.0-1ubuntu22.04.1
libbpf_projectlibbpf>= 0 < 0.5.0-1~ubuntu20.04.1+esm10.5.0-1~ubuntu20.04.1+esm1

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.