{"id":"CVE-2025-22870","published":"2025-03-12T18:27:59Z","modified":"2026-04-16T22:39:33Z","title":"HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00296,"percentile":0.14703,"provenance":"source"},"cwes":[{"id":"CWE-115","name":"Misinterpretation of Input"}],"references":[{"url":"https://go.dev/cl/654697","tags":[]},{"url":"https://go.dev/issue/71984","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-3503","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/07/2","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250509-0007/","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":2.94},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.08}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-06-08","earliestUrl":"https://github.com/JoshuaProvoste/CVE-2025-22870","repos":[{"name":"JoshuaProvoste/CVE-2025-22870","url":"https://github.com/JoshuaProvoste/CVE-2025-22870","stars":2,"created":"2025-06-08"}]},"first":{"date":"2025-06-08","source":"PoC-in-GitHub","url":"https://github.com/JoshuaProvoste/CVE-2025-22870"},"provenance":"source"},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.23.7",">= 1.24.0-0, < 1.24.1"]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/http/httpproxy","versions":["< 0.36.0"]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/proxy","versions":["< 0.36.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-18T16:31:16.493335Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/net","vulnerableRanges":["<0.36.0"],"patched":["0.36.0"],"from":["GHSA-qxp5-gwg8-xv66","GO-2025-3503"],"provenance":"source"},{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.23.7",">=1.24.0-0, <1.24.1"],"patched":["1.23.7","1.24.1"],"from":["GO-2025-3503"],"provenance":"source"}],"summary":{"text":"The HTTP proxy matching logic in Go's net/http package, as shipped in golang.org/x/net, can treat an IPv6 zone ID as part of a hostname, so hosts are checked against proxy patterns incorrectly. For example, with NO_PROXY set to \"*.example.com\", a request to an IPv6 address carrying a zone ID ending in \".example.com\" is not sent through the proxy as intended; exploitation requires an attacker to be able to supply or influence the target address, with local access and low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:04Z"},"euvd":{"id":"EUVD-2025-6690","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-45341","published":"2025-01-28","fixed":"1.24.0-rc.2","kev":false},{"cve":"CVE-2025-22865","published":"2025-01-28","fixed":"1.24.0-rc.2","kev":false},{"cve":"CVE-2025-22866","published":"2025-02-06","fixed":"1.24.0-rc.3","kev":false,"link":{"from":"CVE-2025-22866","to":"CVE-2025-22870","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.23.6","toFixed":"1.23.7","daysApart":34}]}},{"cve":"CVE-2025-22870","published":"2025-03-12","fixed":"1.24.1","kev":false},{"cve":"CVE-2025-22871","published":"2025-04-08","fixed":"1.24.2","kev":false,"link":{"from":"CVE-2025-22870","to":"CVE-2025-22871","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.23.7","toFixed":"1.23.8","daysApart":27}]}},{"cve":"CVE-2025-22873","published":"2026-02-04","fixed":"1.24.3","kev":false},{"cve":"CVE-2025-0913","published":"2025-06-11","fixed":"1.24.4","kev":false}],"package":"Go:stdlib"}}