Live threats

All CVEs / Go standard library

CVE-2024-45341Go standard library crypto/x509

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 40
Auth required
No
Published
Jan 28, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

A certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain. Certificates containing URIs are not permitted in the web PKI, so this only affects users of private PKIs which make use of URIs.

Original NVD text.

What to do

  1. Apply the vendor's security update for crypto/x509.
  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.22.11 1.22.11 go get stdlib@v1.22.11
Go stdlib ≥ 1.23.0-0 < 1.23.5 1.23.5 go get stdlib@v1.23.5
Go stdlib ≥ 1.24.0-0 < 1.24.0-rc.2 1.24.0-rc.2 go get stdlib@v1.24.0-rc.2

Per OSV / GitHub Advisories (GO-2025-3373). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.