Live threats

All CVEs / Golang

CVE-2023-29409Golang Go

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golanggo< 1.19.12
golanggo≥ 1.20.0 < 1.20.7
golanggo1.21.0
golanggo1.21.0
golanggo1.21.0

Official advisories

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.