rkyv
Affected
- introduced
0.8.0-rc.1, fixed0.8.17(semver)
Fixed versions
0.8.17
Fix
- Fixed version
0.8.17cargo update -p rkyv --precise 0.8.17
Advisory
Also known as: None
Crafted archives can cause a use-after-free during deserialization
Insufficient archive range validation could allow a crafted archive to reachArchivedString::deserialize with an invalid pointer. A reported reproducer
used rkyv::from_bytes to deserialize a struct containing strings, a vector,
a box, and an optional hash map. AddressSanitizer detected a heap use-after-free
during string deserialization.
The flaw could be triggered through the safe checked deserialization API when
processing malicious archive bytes. Version 0.8.17 rejects the malformed
archive during validation. Users who process untrusted archives should upgrade
to 0.8.17 or later.
Not rated by the source.
0.8.0-rc.1, fixed 0.8.17 (semver)0.8.17
0.8.17cargo update -p rkyv --precise 0.8.17Fix 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: RustSec Advisory Database · CC0-1.0