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.6Details
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.