CVE-2023-29409: Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures.
Medium CVSS 5.3
- CVE id
- CVE-2023-29409
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Go Runtimes and servers |
< 1.19.12 >= 1.20.0, < 1.20.7 |
1.19.12, 1.20.7 |
How to fix it
Upgrade Go to the fixed release of the line you run: 1.19.12, 1.20.7.
go version
- Build with the patched Go release (set "toolchain" in go.mod, or the golang image tag) and redeploy: Go programs include the standard library, so they must be rebuilt.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2023-29409 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-29409
- Web: https://go.dev/cl/515257
- Web: https://go.dev/issue/61460
- Web: https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ
- Web: https://pkg.go.dev/vuln/GO-2023-1987
- Web: https://security.gentoo.org/glsa/202311-09
- Web: https://security.netapp.com/advisory/ntap-20230831-0010/
- Web: https://go.dev/cl/515257
- Web: https://go.dev/issue/61460
- Web: https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ
- Web: https://pkg.go.dev/vuln/GO-2023-1987
- Web: https://security.gentoo.org/glsa/202311-09
- Web: https://security.netapp.com/advisory/ntap-20230831-0010/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.