Vulnerability
CVE-2016-9121
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.
7 advisories report this vulnerability, across 3 ecosystems.
Advisories in Go
-
GHSA-86r9-39j9-99wp
Elliptic Curve Key Disclosure in go-jose
-
GO-2020-0010
Elliptic curve key disclosure in github.com/square/go-jose