CVE-2024-45341

published 28 Jan 2025 · updated 17 Sep 2026

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

6.1MediumCVSS 6.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.22.11, 1.23.5 and 1.24.0-rc.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.22.11, >=1.23.0-0 <1.23.5, >=1.24.0-0 <1.24.0-rc.21.22.11, 1.23.5, 1.24.0-rc.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-45341 severity on Zeptric[![CVE-2024-45341](https://zeptric.io/badge/cve/CVE-2024-45341.svg)](https://zeptric.io/cve/CVE-2024-45341)