Alpine Security Database
ALPINE-CVE-2025-47912
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.22 | go | All versions before 1.24.8-r0 (fixed in 1.24.8-r0) |
| Alpine:v3.23 | go | From 1.25.0 before 1.25.2-r0 (fixed in 1.25.2-r0) |
| Alpine:v3.24 | go | From 1.25.0 before 1.25.2-r0 (fixed in 1.25.2-r0) |