ADVISORIES

Go Vulnerability Database

GO-2022-0191

Denial of service in chain verification in crypto/x509

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.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.10.6 (fixed in 1.10.6)
From 1.11.0-0 before 1.11.3 (fixed in 1.11.3)

References