stdlib
Affected
- introduced
0, fixed1.19.12, introduced1.20.0-0, fixed1.20.7, introduced1.21.0-0, fixed1.21.0-rc.4(semver)
Fixed versions
1.19.12, 1.20.7, 1.21.0-rc.4
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-golang-2023-29409, CVE-2023-29409
Large 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.
Not rated by the source.
0, fixed 1.19.12, introduced 1.20.0-0, fixed 1.20.7, introduced 1.21.0-0, fixed 1.21.0-rc.4 (semver)1.19.12, 1.20.7, 1.21.0-rc.4
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0