lru
Affected
- introduced
0, fixed0.7.1(semver)
Fixed versions
0.7.1
Fix
- Fixed version
0.7.1cargo update -p lru --precise 0.7.1
Advisory
Also known as: CVE-2021-45720, GHSA-qqmc-hwqp-8g2w, RUSTSEC-2021-0130
Use After Free in lru
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.
High Basis: The source's own band: HIGH
0, fixed 0.7.1 (semver)0.7.1
0.7.1cargo update -p lru --precise 0.7.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0