hashbrown
Affected
- introduced
0.15.0, fixed0.15.1(semver)
Fixed versions
0.15.1
Fix
- Fixed version
0.15.1cargo update -p hashbrown --precise 0.15.1
Advisory
Also known as: RUSTSEC-2024-0402
Borsh serialization of HashMap is non-canonical
The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.
This can result in consensus splits and cause equivalent objects to be considered distinct.
This was patched in 0.15.1.
High Basis: The source's own band: HIGH
0.15.0, fixed 0.15.1 (semver)0.15.1
0.15.1cargo update -p hashbrown --precise 0.15.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