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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 29 Oct 2025 22:30:00 +0000

Type Values Removed Values Added
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.
Title Insufficient validation of bracketed IPv6 hostnames in net/url
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-10-29T22:10:13.435Z

Reserved: 2025-05-13T23:31:29.597Z

Link: CVE-2025-47912

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-10-29T23:16:18.187

Modified: 2025-10-29T23:16:18.187

Link: CVE-2025-47912

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.