GHSA-2wc6-2rcj-8v76

    Dashboard / Vulnerabilities / GHSA-2wc6-2rcj-8v76

    GHSA-2wc6-2rcj-8v76

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: scalarmult() vulnerable to degenerate public keys

    Details: 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.

    Affected packages

    Package

    Name: sodiumoxide

    Purl: pkg:cargo/sodiumoxide

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.0.14

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High