lru
Affected
- introduced
0.9.0, fixed0.16.3(semver)
Fixed versions
0.16.3
Fix
- Fixed version
0.16.3cargo update -p lru --precise 0.16.3
Advisory
Also known as: RUSTSEC-2026-0002
IterMut violates Stacked Borrows by invalidating internal pointer
Affected versions of this crate contain a soundness issue in the IterMut iterator implementation. The IterMut::next and IterMut::next_back methods temporarily create an exclusive reference to the key when dereferencing the internal node pointer.
This invalidates the shared pointer held by the internal HashMap, violating Stacked Borrows rules.
Low Basis: The source's own band: LOW
0.9.0, fixed 0.16.3 (semver)0.16.3
0.16.3cargo update -p lru --precise 0.16.3Fix 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