CVE-2020-35909 Unexpected panic in multihash

High 7.5 Published Updated

Attackers can cause a denial of service by sending unsanitized data to applications using the multihash crate, triggering a panic during parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-35909?

CVE-2020-35909 is a high-severity denial of service vulnerability in n/a, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the multihash crate before 0.11.3 for Rust. The from_slice parsing code can panic via unsanitized data from a network server.

Which versions are affected by CVE-2020-35909?

3 open source packages ship an affected version, including multihash. It affects 1 product.

PackageAffectedFixed in
multihash crates.ioAll versions0.11.3
multihash crates.ioAll versions0.11.3
multihash crates.ioFrom 0.0.0-00.11.3

Products include Protocol Multihash.

How do I fix CVE-2020-35909?

Upgrade multihash to 0.11.3 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-35909 being exploited?

There is no known exploitation of CVE-2020-35909 in the wild and no public exploit code.

Sources

Also known as GHSA-h7qh-3h6f-w79p, RUSTSEC-2020-0068.

Is CVE-2020-35909 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free