GitHub Advisory Database
GHSA-qxp5-gwg8-xv66
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/net | All versions before 0.36.0 (fixed in 0.36.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22870
- https://go-review.googlesource.com/q/project:net
- https://go.dev/cl/654697
- https://go.dev/issue/71984
- https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ
- https://pkg.go.dev/vuln/GO-2025-3503
- https://security.netapp.com/advisory/ntap-20250509-0007
- http://www.openwall.com/lists/oss-security/2025/03/07/2