GHSA-qqmc-hwqp-8g2w
Dashboard / Vulnerabilities / GHSA-qqmc-hwqp-8g2w
GHSA-qqmc-hwqp-8g2w
Published: 17 Jun 2022Last Modified: 8 Nov 2023
Summary: Use after free in lru crate
Details: Lru crate has use after free vulnerability. Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.
References: https://github.com/jeromefroe/lru-rs/issues/120, https://github.com/jeromefroe/lru-rs, https://rustsec.org/advisories/RUSTSEC-2021-0130.html
Affected packages
Package
Name: lru
Purl: pkg:cargo/lru
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.7.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
