GO-2023-1570

Panic on large handshake records in crypto/tls

At a glance

Published
Updated
CVE
CVE-2022-41724
Aliases
BIT-golang-2022-41724

Description

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).

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.19.6, introduced 1.20.0-0, fixed 1.20.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database