GO-2025-4010
Insufficient validation of bracketed IPv6 hostnames in net/url
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-47912
- Alias
- BIT-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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.8, introduced 1.25.0, fixed 1.25.2 |
Références
- https://go.dev/issue/75678 REPORT
- https://go.dev/cl/709857 FIX
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |