CVE-2016-9121
CRITICAL 9.1CVSS 3.0Elliptic Curve Key Disclosure in go-jose
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
- 28 Mar 2017
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-326
- Also known as
- GHSA-86r9-39j9-99wpGO-2020-0010
- Sources
- NVDJSONOSV GHSA-86r9-39j9-99wpJSONOSV GO-2020-0010JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-jose_project | go-josecpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:* |
<= 1.0.3 | |
| OSV | Go | gopkg.in/square/go-jose.v1 | < 1.0.4 | 1.0.4 |
| OSV | Go | github.com/square/go-jose | < 1.0.4 | 1.0.4 |
References
- http://www.openwall.com/lists/oss-security/2016/11/03/1 · Mailing List, Patch, Third Party Advisory
- https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507 · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://hackerone.com/reports/164590 · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-9121 · ADVISORY
- https://pkg.go.dev/vuln/GO-2020-0010 · WEB
- https://www.openwall.com/lists/oss-security/2016/11/03/1 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 28 Mar 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2021)