9.1crit
CVE-2016-9121
Elliptic Curve Key Disclosure in go-jose
Also known as GHSA-86r9-39j9-99wp, GO-2020-0010
Published 9 y ago · modified 4 mo ago · JSON
CVSS
9.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.4%
percentile 73%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.41% probability of exploitation in the next 30 days, higher than 73% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
| GitHub | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | gopkg.in/square/go-jose.v1 | <1.0.4 | 1.0.4 |
| go | github.com/square/go-jose | <1.0.4 | 1.0.4 |
Affected products
- n/a Go JOSE All versions before 1.0.4
Classification
- Weakness
- CWE-326 Inadequate Encryption Strength
References
- github.com /square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507 · x_refsource_MISC, x_transferred
- hackerone.com /reports/164590 · x_refsource_MISC, x_transferred
- openwall.com /lists/oss-security/2016/11/03/1 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-9121 · advisory
- pkg.go.dev /vuln/GO-2020-0010 · web
- openwall.com /lists/oss-security/2016/11/03/1 · web
Sources
- CVE List: CVE-2016-9121
- GitHub Advisory: GHSA-86r9-39j9-99wp
- NVD: CVE-2016-9121
- OSV: GO-2020-0010
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.