GHSA-86r9-39j9-99wpCriticalCVSS 9.1

Elliptic Curve Key Disclosure in go-jose

Published
June 23, 2021
Last Modified
February 16, 2023

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products2

  • go/gopkg.in/square/go-jose.v1:< 1.0.4
  • go/github.com/square/go-jose:< 1.0.4

🔗 References (6)