{"id":"CVE-2016-9121","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.","aliases":["GHSA-86r9-39j9-99wp","GO-2020-0010"],"modified":"2026-07-08T15:09:48.971443Z","published":"2017-03-28T02:59:00.213Z","references":[{"type":"REPORT","url":"https://hackerone.com/reports/164590"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/11/03/1"},{"type":"FIX","url":"https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-jose/go-jose","events":[{"introduced":"0"},{"last_affected":"a3927f83df1b1516f9e9dec71839c93e6bcf1db0"}],"database_specific":{"cpe":"cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.0.3"}],"source":"CPE_RANGE"}}],"versions":["v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9121.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/square/go-jose","events":[{"introduced":"0"},{"last_affected":"a3927f83df1b1516f9e9dec71839c93e6bcf1db0"},{"fixed":"c7581939a3656bb65e89d64da0a52364a33d2507"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}}],"versions":["v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9121.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}