{"id":"CVE-2023-29409","published":"2023-08-02T19:47:23Z","modified":"2025-02-13T16:49:16Z","title":"Large RSA keys can cause high CPU usage in crypto/tls","vendor":"Go standard library","product":"crypto/tls","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01909,"percentile":0.80288,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/61460","tags":[]},{"url":"https://go.dev/cl/515257","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/X0b6CsSAaYI/m/Efv5DbZ9AwAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-1987","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230831-0010/","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-09","tags":[]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":16.06},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-08-21","earliestUrl":"https://github.com/mateusz834/CVE-2023-29409","repos":[{"name":"mateusz834/CVE-2023-29409","url":"https://github.com/mateusz834/CVE-2023-29409","stars":1,"created":"2023-08-21"}]},"first":{"date":"2023-08-21","source":"PoC-in-GitHub","url":"https://github.com/mateusz834/CVE-2023-29409"},"provenance":"source"},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/tls","versions":["< 1.19.12",">= 1.20.0-0, < 1.20.7",">= 1.21.0-0, < 1.21.0-rc.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T14:15:51.334084Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.19.12",">=1.20.0-0, <1.20.7",">=1.21.0-0, <1.21.0-rc.4"],"patched":["1.19.12","1.20.7","1.21.0-rc.4"],"from":["GO-2023-1987"],"provenance":"source"}],"summary":{"text":"The crypto/tls package in the Go standard library mishandles extremely large RSA keys in certificate chains, which can make a client or server spend significant CPU time verifying signatures.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:27Z"},"euvd":{"id":"EUVD-2023-32978","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-45287","published":"2023-12-05","fixed":"1.20.0","kev":false,"link":{"from":"CVE-2023-29409","to":"CVE-2023-45287","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.12","toFixed":"1.20.0","daysApart":125}]}},{"cve":"CVE-2023-29400","published":"2023-05-11","fixed":"1.20.4","kev":false},{"cve":"CVE-2023-29403","published":"2023-06-08","fixed":"1.20.5","kev":false},{"cve":"CVE-2023-29406","published":"2023-07-11","fixed":"1.20.6","kev":false,"link":{"from":"CVE-2023-29406","to":"CVE-2023-29409","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.11","toFixed":"1.19.12","daysApart":22}]}},{"cve":"CVE-2023-29409","published":"2023-08-02","fixed":"1.21.0-rc.4","kev":false},{"cve":"CVE-2023-39318","published":"2023-09-08","fixed":"1.21.1","kev":false,"link":{"from":"CVE-2023-29409","to":"CVE-2023-39318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.20.7","toFixed":"1.20.8","daysApart":37}]}},{"cve":"CVE-2023-39319","published":"2023-09-08","fixed":"1.21.1","kev":false,"link":{"from":"CVE-2023-29409","to":"CVE-2023-39319","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.20.7","toFixed":"1.20.8","daysApart":37}]}},{"cve":"CVE-2023-39321","published":"2023-09-08","fixed":"1.21.1","kev":false}],"package":"Go:stdlib"}}