What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Go standard library crypto/x509 1.22.11, 1.23.5, 1.24.0-rc.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45341 or the next vulnerability affects your stack