multihash
Affected
- introduced
0, fixed0.11.3(semver)
Fixed versions
0.11.3
Fix
- Fixed version
0.11.3cargo update -p multihash --precise 0.11.3
Advisory
Also known as: CVE-2020-35909, RUSTSEC-2020-0068
Unexpected panic in multihash
In versions prior 0.11.3 it's possible to make from_slice panic by feeding it certain malformed input. It's never documented that from_slice (and from_bytes which wraps it) can panic, and its' return type (Result<Self, DecodeError>) suggests otherwise. In practice, from_slice/from_bytes is frequently used in networking code and is being called with unsanitized data from untrusted sources. This can allow attackers to cause DoS by causing an unexpected panic in the network client's code..
High Basis: The source's own band: HIGH
0, fixed 0.11.3 (semver)0.11.3
0.11.3cargo update -p multihash --precise 0.11.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