CVE 5.3 MEDIUM

Insufficient validation of bracketed IPv6 hostnames in net/url_CVE-2025-47912

5.3 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

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.

Basic Information

ID CVE-2025-47912
Source Go
Published Oct 29, 2025 at 22:10
Modified Oct 30, 2025 at 20:38

Affected Product

Vendor Go standard library
Product net/url
Affected Versions Go standard library net/url 0
Go standard library net/url 1.25.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.