Vulnerability Report: GO-2023-1987
- CVE-2023-29409
- Affects: crypto/tls
- Published: Aug 02, 2023
- Modified: May 20, 2024
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.
Affected Packages
-
PathVersionsSymbols
-
before go1.19.12, from go1.20.0-0 before go1.20.7, from go1.21.0-0 before go1.21.0-rc.4
Aliases
References
- https://go.dev/issue/61460
- https://go.dev/cl/515257
- https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ
- https://vuln.go.dev/ID/GO-2023-1987.json
Credits
- Mateusz Poliwczak
Feedback
See anything missing or incorrect?
Suggest an edit to this report.