Vulnerability Details : CVE-2021-45720
Potential exploit
An issue was discovered in the lru crate before 0.7.1 for Rust. The iterators have a use-after-free, as demonstrated by an access after a pop operation.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-45720
- cpe:2.3:a:lru_project:lru:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-45720
0.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-45720
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-45720
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45720
-
https://rustsec.org/advisories/RUSTSEC-2021-0130.html
RUSTSEC-2021-0130: lru: Use after free in lru crate › RustSec Advisory DatabaseExploit;Issue Tracking;Third Party Advisory
-
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lru/RUSTSEC-2021-0130.md
Third Party Advisory
Jump to