CVE-2016-9121

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGo-jose
PublishedMar 28, 2017
First seenMar 28, 2017

How to fix

Update
  • gopkg.in/square/go-jose.v11.0.4 or later
  • github.com/square/go-jose1.0.4 or later

Affected products

ProductAffected versionsFixed in
go-jose_project go-josev ≤ 1.0.3—
gopkg.in/square/go-jose.v1Gov < 1.0.41.0.4
github.com/square/go-joseGov < 1.0.41.0.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.