{"id":"CVE-2025-22870","aliases":["CVE-2025-22870","GHSA-qxp5-gwg8-xv66","GO-2025-3503"],"related":["CGA-cfr8-97rg-xjpc"],"kind":"vulnerability","state":"published","title":"HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La coincidencia de hosts con patrones de proxy puede tratar incorrectamente un ID de zona IPv6 como un componente de nombre de host. Por ejemplo, si la variable de entorno NO_PROXY se establece en \"*.example.com\", una solicitud a \"[::1%25.example.com]:80` coincidirá incorrectamente y no se procesará mediante proxy.","source":"nvd"}],"published":"2025-03-12T18:17:07.000Z","modified":"2026-09-10T03:50:23.280Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-115"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.23.7","status":"affected"},{"type":"semver","introduced":"1.24.0-0","fixed":"1.24.1","status":"affected"}],"vendor":"Go standard library","product":"net/http","package":"net/http","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.36.0","status":"affected"}],"vendor":"golang.org/x/net","product":"golang.org/x/net/http/httpproxy","package":"golang.org/x/net/http/httpproxy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.36.0","status":"affected"}],"vendor":"golang.org/x/net","product":"golang.org/x/net/proxy","package":"golang.org/x/net/proxy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.36.0"}],"ecosystem":"Go","package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.23.7"},{"type":"semver","introduced":"1.24.0-0","status":"affected","fixed":"1.24.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.36.0"}],"ecosystem":"Go","package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"go"}],"references":[{"url":"https://go.dev/cl/654697","tags":["fix","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://go.dev/issue/71984","tags":["report","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3503","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/07/2","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250509-0007/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22870","tags":["advisory"],"sources":["ghsa"]},{"url":"https://go-review.googlesource.com/q/project:net","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250509-0007","tags":["web"],"sources":["ghsa"]}],"credits":["Juho Forsén of Mattermost"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-18T16:31:16.493Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22870","url":"https://www.cve.org/CVERecord?id=CVE-2025-22870","licence":"CVE Terms of Use","modified":"2026-04-16T22:39:33.619Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qxp5-gwg8-xv66","url":"https://github.com/advisories/GHSA-qxp5-gwg8-xv66","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:23.280Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3503","url":"https://pkg.go.dev/vuln/GO-2025-3503","licence":"CC-BY-4.0","modified":"2026-04-16T22:45:11.580Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22870","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22870","licence":"Public domain","modified":"2026-06-17T08:50:40.640Z"}],"updatedAt":"2026-11-25T22:58:55.227Z","epss":{"score":0.00425,"percentile":0.38714,"date":"2026-12-01T12:00:22.000Z"}}