Skip to main content
← All vulnerabilities
CVE-2016-9121GHSA-86R9-39J9-99WPGO-2020-0010

go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a Go JOSE All versions before 1.0.4

    Go JOSE All versions before 1.0.4

  • gopkg.in/square/go-jose.v1Go

    fixed in 1.0.4

  • github.com/square/go-joseGo

    fixed in 1.0.4

References 3

GitHub · square/go-jose

hackerone.com

openwall.com