VDB
Sign up
MEDIUM6.5

GO-2021-0243

Panic on certain certificates in crypto/tls

Quick fix

GO-2021-0243 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.15.14

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.15.14
Fixgo get stdlib@v1.15.14

References