CVE-2023-29409Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Aug 2, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.19.12 |
1.19.12 |
go get stdlib@v1.19.12 |
| Go | stdlib |
≥ 1.20.0-0 < 1.20.7 |
1.20.7 |
go get stdlib@v1.20.7 |
| Go | stdlib |
≥ 1.21.0-0 < 1.21.0-rc.4 |
1.21.0-rc.4 |
go get stdlib@v1.21.0-rc.4 |
Per OSV / GitHub Advisories (GO-2023-1987). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.19.12 |
| golang | go | ≥ 1.20.0 < 1.20.7 |
| golang | go | 1.21.0 |
| golang | go | 1.21.0 |
| golang | go | 1.21.0 |
Official advisories
- Red Hat Security Advisory: go-toolset:rhel8 security update · Red Hat · RHSA-2023:5721 · Oct 22, 2024 High
- Red Hat Security Advisory: OpenShift Container Platform 4.14.2 packages and security update · Red Hat · RHSA-2023:6840 · Oct 2, 2024 High
- Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.30.2 security update · Red Hat · RHSA-2023:6298 · Oct 2, 2024 High
Also: Red Hat (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking Patch Vendor Advisory
- groups.google.com Mailing List Vendor Advisory
- pkg.go.dev Patch Vendor Advisory
- security.gentoo.org
- security.netapp.com