GHSA-wwq9-3cpr-mm53 Borsh serialization of HashMap is non-canonical
HighCVSS 8.9
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io hashbrown(crates.io) | >= 0.15.0, < 0.15.1 | 0.15.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io hashbrown(crates.io) | >= 0.15.0, < 0.15.1 | 0.15.1 |
References
- github.com issue-tracking
- github.com exploit
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com