Medium severity · published Mar 12, 2025
CVE-2025-22870
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
4.4
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
golang.org/x/net/http/httpproxy · golang.org/x/net
before 0.36.0 · source: vendor
GO
golang.org/x/net/proxy · golang.org/x/net
before 0.36.0 · source: vendor
NE
net/http · Go standard library
before 1.23.7; 1.24.0-0 before 1.24.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-22870
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-22870
go.dev
https://go.dev/cl/654697
go.dev
https://go.dev/issue/71984
groups.google.com
https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ
pkg.go.dev
https://pkg.go.dev/vuln/GO-2025-3503
www.openwall.com
http://www.openwall.com/lists/oss-security/2025/03/07/2
security.netapp.com
https://security.netapp.com/advisory/ntap-20250509-0007/
More from net/http
9.6
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
9.1
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
7.5
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
7.5
CVE-2026-94439
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
7.5
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
