GO-2025-3373
Dashboard / Vulnerabilities / GO-2025-3373
Summary: Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509
Details: 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.
References: https://go.dev/cl/643099, https://go.dev/issue/71156, https://groups.google.com/g/golang-dev/c/bG8cv1muIBM/m/G461hA6lCgAJ, https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.22.11
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
