VDB
Sign up
HIGH8.2

GO-2022-0217

Denial of service affecting P-521 and P-384 curves in crypto/elliptic

Quick fix

GO-2022-0217 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.10.8

Details

A DoS vulnerability in the crypto/elliptic implementations of the P-521 and P-384 elliptic curves may let an attacker craft inputs that consume excessive amounts of CPU.

These inputs might be delivered via TLS handshakes, X.509 certificates, JWT tokens, ECDH shares or ECDSA signatures. In some cases, if an ECDH private key is reused more than once, the attack can also lead to key recovery.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.10.8
Fixgo get stdlib@v1.10.8

References