ADVISORIES

Go Vulnerability Database

GO-2021-0243

Panic on certain certificates in crypto/tls

Details

crypto/tls clients can panic when provided a certificate of the wrong type for the negotiated parameters. net/http clients performing HTTPS requests are also affected.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.15.14 (fixed in 1.15.14)
From 1.16.0-0 before 1.16.6 (fixed in 1.16.6)

References