Live threats

All CVEs / Go-jose Project

CVE-2016-9121Go-jose Project Go-jose

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-jose.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
go-jose_projectgo-jose≤ 1.0.3

Official sources

References

Links published by the sources. Open them with care.