PT-2020-17541 · Rust · Multihash

Published

2020-11-08

·

Updated

2021-08-25

·

CVE-2020-35909

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions multihash crate versions prior to 0.11.3
Description An issue in the multihash crate allows attackers to cause a Denial of Service (DoS) by feeding certain malformed input to the from slice function, which can panic when called with unsanitized data from untrusted sources. This function is frequently used in networking code and its return type suggests that it should not panic, but it can when given specific input. The panic can occur when from slice (or from bytes, which wraps it) is called with data from untrusted sources, potentially allowing attackers to cause an unexpected panic in the network client's code.
Recommendations For versions prior to 0.11.3, update to version 0.11.3 or later to resolve the issue. As a temporary workaround, consider validating and sanitizing input data before passing it to the from slice function to minimize the risk of exploitation.

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-35909
GHSA-H7QH-3H6F-W79P
RUSTSEC-2020-0068

Affected Products

Multihash