CVE-2016-9121Go-jose Project Go-jose
Critical 9.1 No auth needed
Follow: this CVE · Go-jose Project · Go-jose Project Go-jose We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Mar 28, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-326
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go-jose.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/square/go-jose |
< 1.0.4 |
1.0.4 |
go get github.com/square/go-jose@v1.0.4 |
| Go | github.com/square/go-jose |
< 1.0.4 |
1.0.4 |
go get github.com/square/go-jose@v1.0.4 |
| Go | gopkg.in/square/go-jose.v1 |
< 1.0.4 |
1.0.4 |
go get gopkg.in/square/go-jose.v1@v1.0.4 |
Per OSV / GitHub Advisories (GHSA-86r9-39j9-99wp, GO-2020-0010). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-jose_project | go-jose | ≤ 1.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- hackerone.com Permissions Required