CVE-2016-9121
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.0.5-1 |
| debian | bullseye | fixed | 1.0.5-1 |
| debian | forky | fixed | 1.0.5-1 |
| debian | sid | fixed | 1.0.5-1 |
| debian | trixie | fixed | 1.0.5-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| 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 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| go-jose_project | go-jose | {"endIncluding":"1.0.3"} | |
References
- http://www.openwall.com/lists/oss-security/2016/11/03/1
- https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507
- https://hackerone.com/reports/164590
- https://nvd.nist.gov/vuln/detail/CVE-2016-9121
- https://pkg.go.dev/vuln/GO-2020-0010
- https://www.openwall.com/lists/oss-security/2016/11/03/1
- https://security-tracker.debian.org/tracker/CVE-2016-9121
CWEs
CWE-326
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.