{"schema_version":"1.3.1","id":"GO-2020-0010","modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","aliases":["CVE-2016-9121","GHSA-86r9-39j9-99wp"],"summary":"Elliptic curve key disclosure in github.com/square/go-jose","details":"When using ECDH-ES an attacker can mount an invalid curve attack during decryption as the supplied public key is not checked to be on the same curve as the receivers private key.","affected":[{"package":{"name":"github.com/square/go-jose","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.4"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/square/go-jose/cipher","symbols":["DeriveECDHES"]},{"path":"github.com/square/go-jose","symbols":["JsonWebEncryption.Decrypt","JsonWebKey.UnmarshalJSON","ecDecrypterSigner.decryptKey","rawJsonWebKey.ecPublicKey"]}]}}],"references":[{"type":"FIX","url":"https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2016/11/03/1"}],"credits":[{"name":"Quan Nguyen from Google's Information Security Engineering Team"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2020-0010","review_status":"REVIEWED"}}