Resource exhaustion in Golang Go
CVE-2022-41724
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).
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.011, 66.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go — versions 1.20.0
- Go Standard Library Crypto/tls — versions 0, 1.20.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (8-cm/kube-dump, drewtwitchell/scancompare, h4ckm1n-dev/report-test, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/issue/58001 (Patch, Issue Tracking, Vendor Advisory)
- go.dev/cl/468125 (Patch, Release Notes)
- groups.google.com/g/golang-announce/c/V0aBFqaFs_E (Mailing List, Vendor Advisory)
- pkg.go.dev/vuln/GO-2023-1570 (Vendor Advisory)
- security.gentoo.org/glsa/202311-09