Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | crypto/tls | < 1.19.12; >= 1.20.0-0, < 1.20.7; >= 1.21.0-0, < 1.21.0-rc.4 |
References
- https://go.dev/cl/515257Patch
- https://go.dev/issue/61460Issue Tracking, Patch, Vendor Advisory
- https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJMailing List, Vendor Advisory
- https://pkg.go.dev/vuln/GO-2023-1987Patch, Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230831-0010/
- https://go.dev/cl/515257Patch
- https://go.dev/issue/61460Issue Tracking, Patch, Vendor Advisory
- https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJMailing List, Vendor Advisory
- https://pkg.go.dev/vuln/GO-2023-1987Patch, Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230831-0010/
Timeline
- Published
- Aug 2, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified