Vulnerability Details : 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).
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2021-45940
- cpe:2.3:a:libbpf_project:libbpf:0.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:libbpf_project:libbpf:0.6.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-45940
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-45940
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2021-45940
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45940
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40868
40868 - libbpf:bpf-object-fuzzer: Heap-buffer-overflow in __bpf_object__open - oss-fuzzExploit;Issue Tracking;Third Party Advisory
-
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1562.yaml
oss-fuzz-vulns/OSV-2021-1562.yaml at main · google/oss-fuzz-vulns · GitHubExploit;Third Party Advisory
Jump to