What’s Vulnerable › Vulnerabilities

CVE-2022-41724: Panic on large handshake records in crypto/tls

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 products

How to fix

Upgrade to a fixed version: Go 1.19.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-41724 or the next vulnerability affects your stack