All reports
Critical

Elliptic Curve Key Disclosure in go-jose

Affected versions

Version ranges need review.

Affected versions
< 1.0.4
Fixed version
1.0.4
Affected versions
<1.0.4
Fixed version
1.0.4
Affected versions
< 1.0.4
Fixed version
1.0.4

Exploitation

CVE-2016-9121

Probability of exploitation in the next 30 days: 1.41%

FIRST EPSS · 2026-11-19

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.

Links

Credits

  • Quan Nguyen from Google's Information Security Engineering Team