CVE-2025-22870
MEDIUM 4.4CVSS 3.1HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
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.
- Published
- 12 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Deferred
- Weakness
- CWE-115CWE-20
- Also known as
- GHSA-qxp5-gwg8-xv66GO-2025-3503
- Sources
- NVDJSONOSV GHSA-qxp5-gwg8-xv66JSONOSV GO-2025-3503JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | golang.org/x/net | < 0.36.0 | 0.36.0 |
| OSV | Go | stdlib | < 1.23.7; >= 1.24.0-0, < 1.24.1 | 1.23.7, 1.24.1 |
References
- https://go.dev/cl/654697 · WEB, FIX
- https://go.dev/issue/71984 · WEB, REPORT
- https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ · WEB
- https://pkg.go.dev/vuln/GO-2025-3503 · WEB
- http://www.openwall.com/lists/oss-security/2025/03/07/2 · WEB
- https://security.netapp.com/advisory/ntap-20250509-0007/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-22870 · ADVISORY
- https://go-review.googlesource.com/q/project:net · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 12 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Mar 2025)