| { |
| "schema_version": "1.3.1", |
| "id": "GO-2025-4010", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2025-47912", |
| "CVE-2025-47912" |
| ], |
| "summary": "Insufficient validation of bracketed IPv6 hostnames in net/url", |
| "details": "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": [ |
| { |
| "package": { |
| "name": "stdlib", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.24.8" |
| }, |
| { |
| "introduced": "1.25.0" |
| }, |
| { |
| "fixed": "1.25.2" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "net/url", |
| "symbols": [ |
| "JoinPath", |
| "Parse", |
| "ParseRequestURI", |
| "URL.Parse", |
| "URL.UnmarshalBinary", |
| "parseHost" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/75678" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/709857" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Enze Wang, Jingcheng Yang and Zehui Miao of Tsinghua University" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2025-4010", |
| "review_status": "REVIEWED" |
| } |
| } |