CVE-2023-29409
MEDIUM 5.3CVSS 3.1Large RSA keys can cause high CPU usage in crypto/tls
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.
- Published
- 2 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- BIT-golang-2023-29409GO-2023-1987
- Sources
- NVDJSONOSV GO-2023-1987JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.19.12 | 1.19.12 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.20.0, < 1.20.7 | 1.20.7 |
| NVD | golang | gocpe:2.3:a:golang:go:1.21.0:rc1:*:*:*:*:*:* |
= 1.21.0 | |
| NVD | golang | gocpe:2.3:a:golang:go:1.21.0:rc2:*:*:*:*:*:* |
= 1.21.0 | |
| NVD | golang | gocpe:2.3:a:golang:go:1.21.0:rc3:*:*:*:*:*:* |
= 1.21.0 | |
| OSV | Go | stdlib | < 1.19.12; >= 1.20.0-0, < 1.20.7; >= 1.21.0-0, < 1.21.0-rc.4 | 1.19.12, 1.20.7, 1.21.0-rc.4 |
References
- https://go.dev/cl/515257 · Patch, FIX
- https://go.dev/issue/61460 · Issue Tracking, Patch, Vendor Advisory, REPORT
- https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ · Mailing List, Vendor Advisory, WEB
- https://pkg.go.dev/vuln/GO-2023-1987 · Patch, Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20230831-0010/
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 2 Aug 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Aug 2023)