5.3Mittel

CVE-2025-47912Insufficient validation of bracketed IPv6 hostnames in net/url

Go standard library net/url Veröffentlicht: (vor 1 Jahr)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-1286

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library net/url < 1.24.8, 1.25.0 – < 1.25.2
golang go < 1.24.8

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.24.8
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.25.0 < 1.25.2