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

VectorAV: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

ALSA-2023:3083
ALSA-2023:6363
ALSA-2023:6380
ALSA-2023:6402
ALSA-2023:6473
ALSA-2023:6474
ALSA-2023:6938
ALSA-2023:6939
ALT-PU-2023-1269
ALT-PU-2023-1323
ALT-PU-2023-4785
ALT-PU-2023-7095
AZL-13731
AZL-13737
AZL-34755
AZL-37400
AZL-37508
AZL-78952
BDU:2024-03152
BIT-GOLANG-2022-41724
CESA-2023_3083
CESA-2023_6938
CESA-2023_6939
CVE-2022-41724
GO-2023-1570
MGASA-2023-0109
OESA-2023-1192
OPENSUSE-SU-2024:12707-1
OPENSUSE-SU-2024:12708-1
OPENSUSE-SU-2024:12798-1
OPENSUSE-SU-2024:13007-1
OPENSUSE-SU-2024:14076-1
RHSA-2023:1325
RHSA-2023:1329
RHSA-2023:3083
RHSA-2023:3303
RHSA-2023:3366
RHSA-2023:3445
RHSA-2023:3450
RHSA-2023:3612
RHSA-2023:4003
RHSA-2023:4470
RHSA-2023:5964
RHSA-2023:6363
RHSA-2023:6380
RHSA-2023:6402
RHSA-2023:6473
RHSA-2023:6474
RHSA-2023:6938
RHSA-2023:6939
RHSA-2023:7672
RHSA-2023_3083
RHSA-2023_6363
RHSA-2023_6380
RHSA-2023_6402
RHSA-2023_6473
RHSA-2023_6474
RHSA-2023_6938
RHSA-2023_6939
RLSA-2023:3083
SUSE-SU-2023:0733-1
SUSE-SU-2023:0735-1
SUSE-SU-2023:0869-1
SUSE-SU-2023:0871-1
SUSE-SU-2023:2312-1
USN-6140-1
USN-7109-1
USN-7111-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Crypto/Tls