VDB
Sign up
HIGH7.5

GO-2022-0191

Denial of service in chain verification in crypto/x509

Quick fix

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

go get stdlib@v1.10.6

Details

The crypto/x509 package does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients verifying certificates are affected.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.10.6
Fixgo get stdlib@v1.10.6

References