CVE-2023-29409: Large RSA keys can cause high CPU usage in crypto/tls

Published Aug 2, 2023
·
Updated

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.

Other sources

Golang Go is vulnerable to a denial of service, caused by an uncontrolled resource consumption flaw. By persuading a victim to use a specially crafted certificate with large RSA keys, an remote attacker could exploit this vulnerability to cause a client/server to expend significant CPU time verifying signatures, and results in a denial of service condition.

IBM

Large RSA keys can cause high CPU usage in crypto/tls

Microsoft

Affected Software

14 affected componentsFixes available
Golang Go<1.19.12
Golang Go>=1.20.0<1.20.7
Golang Go=1.21.0-rc1
Golang Go=1.21.0-rc2
Golang Go=1.21.0-rc3
IBM Concert Software<=1.0.0 - 1.0.1
redhat/Go<1.20.7
1.20.7
redhat/Go<1.19.12
1.19.12
Microsoft azl3 golang 1.20.7-1
Microsoft cbl2 msft-golang 1.20.7-1
Microsoft cbl2 golang 1.20.7-1
Microsoft cbl2 golang 1.18.8-7
Microsoft cbl2 golang 1.17.13-2
Microsoft cbl2 golang 1.21.6-1

Event History

Aug 2, 2023
CVE Published
via MITRE·07:47 PM
Data Sourced
via MITRE·07:47 PM
DescriptionWeakness
Data Sourced
08:15 PM
Description
Aug 3, 2023
Data Sourced
via Red Hat·07:10 AM
DescriptionSeverityAffected Software
Oct 21, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·09:10 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:10 AM
Affected Software
Updated
via Microsoft·09:10 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-29409?

CVE-2023-29409 refers to extremely large RSA keys in certificate chains that can cause a client/server to expend significant CPU time verifying signatures.

2

What is the severity of CVE-2023-29409?

The severity of CVE-2023-29409 is medium with a severity value of 5.3.

3

Which software is affected by CVE-2023-29409?

Software affected by CVE-2023-29409 include Golang Go versions up to 1.19.12, versions between 1.20.0 and 1.20.7, version 1.21.0-rc1, version 1.21.0-rc2, and version 1.21.0-rc3.

4

What is the fix for CVE-2023-29409?

The fix for CVE-2023-29409 restricts the size of RSA keys transmitted during handshakes to <= 8192 bits.

5

Are there any references for CVE-2023-29409?

Yes, there are references available for CVE-2023-29409. You can find them [here](https://go.dev/cl/515257), [here](https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ), and [here](https://pkg.go.dev/vuln/GO-2023-1987).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203