{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-9121","id":"CVE-2016-9121","title":"Elliptic Curve Key Disclosure in go-jose","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.","descriptionLong":"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.","published":"2017-03-28T02:46:00.000Z","updated":"2026-10-24T10:48:49.009990956Z","reserved":"2016-10-31T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":["Go JOSE All versions before 1.0.4"],"affectedProducts":[{"vendor":"n/a","product":"Go JOSE All versions before 1.0.4","defaultStatus":null,"versions":[{"status":"affected","version":"Go JOSE All versions before 1.0.4"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gopkg.in/square/go-jose.v1","purl":"pkg:golang/gopkg.in/square/go-jose.v1","ranges":["<1.0.4"],"fixed":["1.0.4"],"advisory":"GHSA-86r9-39j9-99wp"},{"ecosystem":"Go","name":"github.com/square/go-jose","purl":"pkg:golang/github.com/square/go-jose","ranges":["<1.0.4"],"fixed":["1.0.4"],"advisory":"GHSA-86r9-39j9-99wp"}],"cwes":["CWE-326"],"aliases":["GHSA-86r9-39j9-99wp","GO-2020-0010"],"references":[{"url":"https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://hackerone.com/reports/164590","tags":["x_refsource_MISC","x_transferred","Permissions Required","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/11/03/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9121","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0010","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2016/11/03/1","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01411,"epssPercentile":0.73223,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-9121","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9121","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-9121","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-86r9-39j9-99wp","ok":true,"note":"GHSA-86r9-39j9-99wp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-9121","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}