GO-2025-3503
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
At a glance
- Published
- Updated
- CVE
- CVE-2025-22870
- Aliases
- GHSA-qxp5-gwg8-xv66
Description
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
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.23.7, introduced 1.24.0-0, fixed 1.24.1 |
| Go · golang.org/x/net | introduced 0, fixed 0.36.0 |
References
- https://go.dev/cl/654697 FIX
- https://go.dev/issue/71984 REPORT
- https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |