CWE
400
Advisory Published
Updated

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

First published: Wed Aug 02 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 &lt;= 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. <a href="https://go.dev/cl/515257">https://go.dev/cl/515257</a> <a href="https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ">https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ</a> <a href="https://pkg.go.dev/vuln/GO-2023-1987">https://pkg.go.dev/vuln/GO-2023-1987</a> <a href="https://go.dev/issue/61460">https://go.dev/issue/61460</a>

Credit: security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
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
redhat/Go<1.20.7
1.20.7
redhat/Go<1.19.12
1.19.12
<=2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2023-29409?

    The severity of CVE-2023-29409 is medium with a severity value of 5.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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203