VDB
Sign up
HIGH7.5

GO-2023-1570

Panic on large handshake records in crypto/tls

Quick fix

GO-2023-1570 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.19.6

Details

Large handshake records may cause panics in crypto/tls.

Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses.

This affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.19.6
Fixgo get stdlib@v1.19.6

References