GHSA-86r9-39j9-99wp
Dashboard / Vulnerabilities / GHSA-86r9-39j9-99wp
GHSA-86r9-39j9-99wp
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2016-9121, https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507, https://hackerone.com/reports/164590, https://pkg.go.dev/vuln/GO-2020-0010, https://www.openwall.com/lists/oss-security/2016/11/03/1
Affected packages
Package
Name: gopkg.in/square/go-jose.v1
Purl: pkg:golang/gopkg.in/square/go-jose.v1
Affected ranges
Type: SEMVER
Events:
