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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NAffected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/url | < 1.24.8; >= 1.25.0, < 1.25.2 |
References
- https://go.dev/cl/709857Patch
- https://go.dev/issue/75678Issue Tracking
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bIMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-4010Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/10/08/1Mailing List, Release Notes
Timeline
- Published
- Oct 29, 2025
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed