GHSA-86r9-39j9-99wp

    Dashboard / Vulnerabilities / GHSA-86r9-39j9-99wp

    GHSA-86r9-39j9-99wp

    Published: 23 Jun 2021Last Modified: 8 Nov 2023

    Summary: Elliptic Curve Key Disclosure in go-jose

    Details: go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.

    Affected packages

    Package

    Name: gopkg.in/square/go-jose.v1

    Purl: pkg:golang/gopkg.in/square/go-jose.v1

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.0.4

    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