Resource exhaustion in Golang Go
CVE-2023-29409
Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.016, 76.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go — versions 1.21.0
- Go Standard Library Crypto/tls — versions 0, 1.20.0-0, 1.21.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- mateusz834/CVE-2023-29409 (1 star, last pushed 2023-08-21): CVE-2023-29409 reproducer
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/61460 (Patch, Issue Tracking, Vendor Advisory)
- go.dev/cl/515257 (Patch)
- groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ (Mailing List, Vendor Advisory)
- pkg.go.dev/vuln/GO-2023-1987 (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20230831-0010/
- security.gentoo.org/glsa/202311-09
This CVE has public exploit evidence. See the latest CVEs with public exploits.