Skip to content

← Public intelligence

crates.io package

sodiumoxide

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

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

  1. Medium, CVSS 6.5crates.ioPublished

    scalarmult() vulnerable to degenerate public keys

    CVE-2017-1000168 · GHSA-2wc6-2rcj-8v76

    Affected
    • crates.io sodiumoxide < 0.0.14
    Fixed in
    0.0.14· Vendor fix available
    Issue
    The scalarmult() function included in previous versions of this crate accepted all-zero public keys, for which the resulting Diffie-Hellman shared secret will always be zero regardless of the private key used. This issue was fixed by checking for this class of keys and rejecting them if they are used.

    Recommended action: Upgrade to 0.0.14 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 →
  2. Critical, CVSS 9.8crates.ioPublished

    Incorrect Comparison in sodiumoxide

    CVE-2019-25002 · GHSA-wrvc-72w7-xpmj

    Affected
    • crates.io sodiumoxide >= 0.2.0, < 0.2.5
    Fixed in
    0.2.5· Vendor fix available
    Issue
    An issue was discovered in the sodiumoxide crate starting with 0.2.0 and prior to 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.

    Recommended action: Upgrade to 0.2.5 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 →