6.1Medium

CVE-2024-45341Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509

Go standard library crypto/x509 Published: (1 year ago)

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.

Weakness (CWE): CWE-295

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library crypto/x509 < 1.22.11, 1.23.0-0 – < 1.23.5, 1.24.0-0 – < 1.24.0-rc.2

References and patches