CVE-2021-45940

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-45940
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-45940.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-45940
Aliases
Downstream
Related
Published
2022-01-01T01:15:08Z
Modified
2025-10-15T13:29:39.096435Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in bpfobjectopen (called from bpfobject_openmem and bpf-object-fuzzer.c).

References

Affected packages

Git / github.com/libbpf/libbpf

Affected ranges

Type
GIT
Repo
https://github.com/libbpf/libbpf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Last affected

Affected versions

v0.*

v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.2
v0.3
v0.4.0
v0.5.0
v0.6.0