GO-2025-3373

Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509

At a glance

Published
Updated
CVE
CVE-2024-45341
Aliases
BIT-golang-2024-45341

Description

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.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.22.11, introduced 1.23.0-0, fixed 1.23.5, introduced 1.24.0-0, fixed 1.24.0-rc.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database