ADVISORIES

Go Vulnerability Database

GO-2025-3503

HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

Details

Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.23.7 (fixed in 1.23.7)
From 1.24.0-0 before 1.24.1 (fixed in 1.24.1)
Gogolang.org/x/net
All versions before 0.36.0 (fixed in 0.36.0)

References