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 package | Versions | Reported by |
|---|---|---|
| net/url | before 1.24.8, from 1.25.0 before 1.25.2 | CVE List |
| stdlib (Go) | before 1.24.8, from 1.25.0 before 1.25.2 | Go Vulnerability Database |
| golang go | before 1.24.8, from 1.25.0 before 1.25.2 | NVD |
| golang (Bitnami) | before 1.24.8, from 1.25.0 before 1.25.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://go.dev/issue/75678 | issue-tracking, report | |
| https://go.dev/cl/709857 | fix, patch | |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2025-4010 | advisory, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | discussion, mailing-list, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-47912 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47912 changed 2025-11-04 | CVE Terms of Use |
| Go Vulnerability Database | GO-2025-4010 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2025-47912 changed 2026-10-08 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-47912 changed 2026-09-08 | Apache-2.0 |