CVE-2025-22870HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
A medium-severity vulnerability reachable with local access, needing low privileges and no user interaction. EPSS estimates a 0.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.3%
- percentile 15%
- Fix
- Named by a source
- CVE published 12 Mar 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.3% (+0) · No user interaction (+5)
Immediate actions
- golang.org/x/net (Go): upgrade to 0.36.0 or later on your release line.
- stdlib (Go): upgrade to 1.23.7 / 1.24.1 or later on your release line.
- Patch: https://go.dev/cl/654697
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-22870
Who should check
golang.org/x/net (Go) pkg:golang/golang.org/x/net
- Affected< 0.36.0Fixed in0.36.0OSV (GO-2025-3503)
stdlib (Go) pkg:golang/stdlib
- Affected< 1.23.7Fixed in1.23.7OSV (GO-2025-3503)
- Affected>= 1.24.0-0, < 1.24.1Fixed in1.24.1OSV (GO-2025-3503)
golang.org/x/net golang.org/x/net/http/httpproxy product:golangorgxnet/golangorgxnethttphttpproxy
- Affected< 0.36.0Affected range ends before0.36.0as published by CNA (CVE List)
golang.org/x/net golang.org/x/net/proxy product:golangorgxnet/golangorgxnetproxy
- Affected< 0.36.0Affected range ends before0.36.0as published by CNA (CVE List)
Go standard library net/http product:gostandardlibrary/nethttp
- Affected< 1.23.7Affected range ends before1.23.7as published by CNA (CVE List)
- Affected>= 1.24.0-0, < 1.24.1Affected range ends before1.24.1as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 4.4 MEDIUM (version 3.1)
- Score from
- CISA-ADP
- Attack vector
- local
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Weakness
- CWE-115
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 12 Mar 2025Published
- 12 Mar 2025 ≈Fix released 1.24.1 (pkg:golang/stdlib)
- 12 Mar 2025 ≈Fix released 1.23.7 (pkg:golang/stdlib)
≈ approximate: the sources keep no date for this.
References
- patchhttps://go.dev/cl/654697
- otherhttps://go.dev/issue/71984
- otherhttps://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ
- otherhttps://pkg.go.dev/vuln/GO-2025-3503
- otherhttp://www.openwall.com/lists/oss-security/2025/03/07/2
- otherhttps://security.netapp.com/advisory/ntap-20250509-0007/
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-22870
- otherhttps://go-review.googlesource.com/q/project:net
- otherhttps://security.netapp.com/advisory/ntap-20250509-0007
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-22870 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-qxp5-gwg8-xv66 (GitHub Advisory Database), CC BY 4.0.
- GO-2025-3503 (Go Vulnerability Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 51 min ago · osv 50 min ago · nvd 19 min ago · epss 50 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-qxp5-gwg8-xv66, GO-2025-3503