CVEfocus › CVE database › CVE-2021-45941

CVE-2021-45941

CVSS 6.5 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2021-12-31Updated 2024-08-04Assigner: mitre

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

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libbpfNot affected
vulnerable_code_not_present
Debian 14libbpfFixed0.7.0-2DEBIAN-CVE-2021-45941
Debian 13libbpfFixed0.7.0-2DEBIAN-CVE-2021-45941
Debian 12libbpfFixed0.7.0-2DEBIAN-CVE-2021-45941
Red Hat Enterprise Linux 9libbpfNot affected
Red Hat Enterprise Linux 9libbpf-develNot affected
Red Hat Enterprise Linux 9libbpf-staticNot affected
Red Hat Enterprise Linux 8libbpfWill not fix
Will not fix
Red Hat Enterprise Linux 8libbpf-develWill not fix
Will not fix
Red Hat Enterprise Linux 8libbpf-staticWill not fix
Will not fix

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.