Vulnerability · Published Jan 28, 2025 · Assigned by Go

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

Medium 6.1

In plain English

A medium-severity security flaw in crypto/x509 from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 53.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10delve1.24.1-1.el10_0ALSA-2025:7466
AlmaLinux:8delve1.24.1-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:9git-lfs3.7.1-4.el9_8ALSA-2026:19350
AlmaLinux:10go-toolset1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8go-toolset1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang-bin1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang-bin1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang-docs1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang-docs1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang-misc1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang-misc1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang-src1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang-src1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
AlmaLinux:10golang-tests1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8golang-tests1.23.6-1.module_el8.10.0+3977+66935a26ALSA-2025:3772
Alpine:v3.21go1.23.5-r0ALPINE-CVE-2024-45341
Alpine:v3.22go1.23.5-r0ALPINE-CVE-2024-45341
Alpine:v3.23go1.23.5-r0ALPINE-CVE-2024-45341
Alpine:v3.24go1.23.5-r0ALPINE-CVE-2024-45341
Debian:12golang-1.19no fix listedDEBIAN-CVE-2024-45341
Debian:13golang-1.241.24~rc2-1DEBIAN-CVE-2024-45341
Gostdlib1.22.11, 1.23.5, 1.24.0-rc.2GO-2025-3373
Rocky Linux:10delve0:1.24.1-1.el10_0RLSA-2025:7466
Rocky Linux:8delve0:1.24.1-1.module+el8.10.0+1987+42f155bbRLSA-2025:3772
Rocky Linux:8delve0:1.24.1-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux:9delve0:1.24.1-2.el9_6RLSA-2025:3773
Rocky Linux:8go-toolset0:1.23.6-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux:10golang0:1.23.7-1.el10_0RLSA-2025:7466
Rocky Linux:8golang0:1.23.6-1.module+el8.10.0+1951+c74bd827RLSA-2025:3772
Rocky Linux:9golang0:1.23.6-2.el9_6RLSA-2025:3773
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2024-45341
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.221.22.2-2~22.04.3USN-7574-1
Ubuntu:22.04:LTSgolang-1.221.22.2-2~22.04.3UBUNTU-CVE-2024-45341
Ubuntu:24.04:LTSgolang-1.221.22.2-2ubuntu0.4USN-7574-1
Ubuntu:24.04:LTSgolang-1.221.22.2-2ubuntu0.4UBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2024-45341
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2024-45341
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2024-45341
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2024-45341
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2024-45341
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2024-45341
Ubuntu:25.10golang-go.cryptono fix listedUBUNTU-CVE-2024-45341
Ubuntu:26.10golang-go.cryptono fix listedUBUNTU-CVE-2024-45341

Affected products (as reported)

VendorProductVersions
Go standard library crypto/x509 0 – before 1.22.111.23.0-0 – before 1.23.51.24.0-0 – before 1.24.0-rc.2

References