CVE-2021-45940

Source
https://cve.org/CVERecord?id=CVE-2021-45940
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45940.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45940
Aliases
Downstream
Related
Published
2022-01-01T01:15:08.940Z
Modified
2026-07-09T01:06:53.993865Z
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 bpf_objectopen (called from bpfobjectopenmem and bpf-object-fuzzer.c).

References

Affected packages

Git / github.com/libbpf/libbpf

Affected ranges

Type
GIT
Repo
https://github.com/libbpf/libbpf
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:libbpf_project:libbpf:0.6.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:libbpf_project:libbpf:0.6.1:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0.6.0"
        },
        {
            "last_affected": "0.6.0"
        },
        {
            "introduced": "0.6.1"
        },
        {
            "last_affected": "0.6.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.6.0
0.6.1
v0.*
v0.6.0
v0.6.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45940.json"