PT-2023-9028 · Unknown+11 · Crypto/Tls+11
Marten Seemann
·
Published
2023-02-15
·
Updated
2024-11-14
·
CVE-2022-41724
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
crypto/tls versions prior to the fixed version
Description
The issue is related to large handshake records that may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records, which can cause servers and clients to panic when attempting to construct responses. This affects all TLS 1.3 clients, TLS 1.2 clients that explicitly enable session resumption by setting
Config.ClientSessionCache to a non-nil value, and TLS 1.3 servers that request client certificates by setting Config.ClientAuth to a value greater than or equal to RequestClientCert.Recommendations
As a temporary workaround, consider disabling the
Config.ClientSessionCache for TLS 1.2 clients and restricting the use of Config.ClientAuth for TLS 1.3 servers until a patch is available.
For TLS 1.3 clients, consider implementing a handshake record size limit to prevent large records from being sent.
For TLS 1.2 clients with session resumption enabled, consider disabling session resumption until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Crypto/Tls