What’s Vulnerable › Vulnerabilities
CVE-2021-45720
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-26 · updated 2026-06-17
- Weakness: CWE-416
Description
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.
Affected products
- Lru Project Lru: before 0.7.1 — fixed in 0.7.1
How to fix
Upgrade to a fixed version: Lru Project Lru 0.7.1. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lru/RUSTSEC-2021-0130.md
- https://rustsec.org/advisories/RUSTSEC-2021-0130.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lru/RUSTSEC-2021-0130.md
- https://rustsec.org/advisories/RUSTSEC-2021-0130.html
Get alerted when CVE-2021-45720 or the next vulnerability affects your stack