CVE-2023-29409
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.
How to fix
- golang go1.19.12, 1.20.7 or later
- stdlib1.19.12, 1.20.7, 1.21.0-rc.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.19.12, 1.20.0 ≤ v < 1.20.7, 1.21.0 | 1.19.12, 1.20.7 |
| stdlibGo | v < 1.19.12, 1.20.0-0 ≤ v < 1.20.7, 1.21.0-0 ≤ v < 1.21.0-rc.4 | 1.19.12, 1.20.7, 1.21.0-rc.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.