CVE-2025-22870
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
- State
- Published
- Severity
- 4.4 Medium
- Published
- Mar 12, 2025
- Updated
- Apr 16, 2026
- Reserved
- Jan 8, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.4 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L | CISA-ADP |
Weaknesses
- CWE-115 Misinterpretation of Input
Affected Products
| Product | Versions |
|---|---|
net/httpGo standard library |
|
golang.org/x/net/http/httpproxygolang.org/x/net |
|
golang.org/x/net/proxygolang.org/x/net |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.