Go Vulnerability Database
GO-2020-0010
Elliptic curve key disclosure in github.com/square/go-jose
Details
When using ECDH-ES an attacker can mount an invalid curve attack during decryption as the supplied public key is not checked to be on the same curve as the receivers private key.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/square/go-jose | All versions before 1.0.4 (fixed in 1.0.4) |