CVE-2025-47912
JSON

5.3medium

Insufficient validation of bracketed IPv6 hostnames in net/url

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2025-4010BIT-GOLANG-2025-47912

Description

The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.

Affected

Product or packageVersionsReported by
net/urlbefore 1.24.8, from 1.25.0 before 1.25.2CVE List
stdlib (Go)before 1.24.8, from 1.25.0 before 1.25.2Go Vulnerability Database
golang gobefore 1.24.8, from 1.25.0 before 1.25.2NVD
golang (Bitnami)before 1.24.8, from 1.25.0 before 1.25.2Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-1286

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.

NVD (es)

La función Parse permite que se incluyan valores distintos de direcciones IPv6 entre corchetes dentro del componente de host de una URL. RFC 3986 permite que las direcciones IPv6 se incluyan dentro del componente de host, encerradas entre corchetes. Por ejemplo: 'http://[::1]/'. Las direcciones IPv4 y los nombres de host no deben aparecer entre corchetes. Parse no aplicó este requisito.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-47912 changed 2025-11-04CVE Terms of Use
Go Vulnerability DatabaseGO-2025-4010 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-47912 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-47912 changed 2026-09-08Apache-2.0