CVE-2024-45341: Go Standard Library crypto/x509
Medium severity, CVSS 6.1. EPSS: 0.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Go Standard Library crypto/x509, before 1.22.11: fixed in 1.22.11
- Go Standard Library crypto/x509, from 1.23.0-0, before 1.23.5: fixed in 1.23.5
- Go Standard Library crypto/x509, from 1.24.0-0, before 1.24.0-rc.2: fixed in 1.24.0-rc.2
Affected products
- Go Standard Library crypto/x509: before 1.22.11 (fixed in 1.22.11); from 1.23.0-0, before 1.23.5 (fixed in 1.23.5); from 1.24.0-0, before 1.24.0-rc.2 (fixed in 1.24.0-rc.2)
Affected packages
- stdlib (Go)
Published 2025-01-28. Last modified 2026-06-17.