Skip to content

← Public intelligence

crates.io package

multihash

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5crates.ioPublished

    Unexpected panic in multihash

    CVE-2020-35909 · GHSA-h7qh-3h6f-w79p

    Affected
    • crates.io multihash < 0.11.3
    Fixed in
    0.11.3· Vendor fix available
    Issue
    In versions prior 0.11.3 it's possible to make fromslice panic by feeding it certain malformed input. It's never documented that fromslice (and frombytes which wraps it) can panic, and its' return type (Result<Self, DecodeError) suggests otherwise. In practice, fromslice/frombytes 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..

    Recommended action: Upgrade to 0.11.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →