GHSA-wwq9-3cpr-mm53 – hashbrown
Package
Manager: cargo
Name: hashbrown
Vulnerable Version: >=0.15.0 <0.15.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
EPSS: N/A pctlN/A
Details
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.
Metadata
Created: 2024-12-04T18:29:15Z
Modified: 2024-12-04T18:29:15Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-wwq9-3cpr-mm53/GHSA-wwq9-3cpr-mm53.json
CWE IDs: ["CWE-502"]
Alternative ID: N/A
Finding: F096
Auto approve: 1