GHSA-86r9-39j9-99wpCriticalCVSS 9.1
Elliptic Curve Key Disclosure in go-jose
🔗 CVE IDs covered (1)
📋 Description
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 products2
- go/gopkg.in/square/go-jose.v1:< 1.0.4
- go/github.com/square/go-jose:< 1.0.4
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2016-9121
- https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507
- https://hackerone.com/reports/164590
- https://www.openwall.com/lists/oss-security/2016/11/03/1
- https://pkg.go.dev/vuln/GO-2020-0010
- https://github.com/advisories/GHSA-86r9-39j9-99wp