{"id":"CVE-2025-22870","state":"PUBLISHED","title":"HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net","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.","publishedAt":"2025-03-12T18:27:59.376Z","updatedAt":"2026-04-16T22:39:33.619Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library net/http","golang.org/x/net golang.org/x/net/http/httpproxy","golang.org/x/net golang.org/x/net/proxy"],"affected":[{"vendor":"Go standard library","product":"net/http","packageName":"net/http","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.7","versionType":"semver"},{"version":"1.24.0-0","status":"affected","lessThan":"1.24.1","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"envProxyFunc"},{"name":"ProxyFromEnvironment"}]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/http/httpproxy","packageName":"golang.org/x/net/http/httpproxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.36.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"config.useProxy"},{"name":"domainMatch.match"}]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/proxy","packageName":"golang.org/x/net/proxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.36.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"PerHost.dialerForRequest"},{"name":"PerHost.AddFromString"},{"name":"Dial"},{"name":"FromEnvironment"},{"name":"FromEnvironmentUsing"},{"name":"PerHost.Dial"},{"name":"PerHost.DialContext"}]}],"references":["https://go.dev/cl/654697","https://go.dev/issue/71984","https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ","https://pkg.go.dev/vuln/GO-2025-3503","http://www.openwall.com/lists/oss-security/2025/03/07/2","https://security.netapp.com/advisory/ntap-20250509-0007/"],"weaknesses":["CWE-115"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22870.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22870","state":"PUBLISHED","datePublished":"2025-03-12T18:27:59.376Z","dateUpdated":"2026-04-16T22:39:33.619Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2025-01-08T19:11:42.834Z"},"containers":{"cna":{"title":"HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Go standard library","product":"net/http","packageName":"net/http","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.7","versionType":"semver"},{"version":"1.24.0-0","status":"affected","lessThan":"1.24.1","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"envProxyFunc"},{"name":"ProxyFromEnvironment"}]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/http/httpproxy","packageName":"golang.org/x/net/http/httpproxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.36.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"config.useProxy"},{"name":"domainMatch.match"}]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/proxy","packageName":"golang.org/x/net/proxy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.36.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"PerHost.dialerForRequest"},{"name":"PerHost.AddFromString"},{"name":"Dial"},{"name":"FromEnvironment"},{"name":"FromEnvironmentUsing"},{"name":"PerHost.Dial"},{"name":"PerHost.DialContext"}]}],"references":[{"url":"https://go.dev/cl/654697"},{"url":"https://go.dev/issue/71984"},{"url":"https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ"},{"url":"https://pkg.go.dev/vuln/GO-2025-3503"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-115 Misinterpretation of Input"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-04-16T22:39:33.619Z"},"credits":[{"lang":"en","value":"Juho Forsén of Mattermost"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/03/07/2"},{"url":"https://security.netapp.com/advisory/ntap-20250509-0007/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-05-09T20:03:37.043Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.4,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-03-18T16:31:16.493335Z","id":"CVE-2025-22870","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-115","type":"CWE","lang":"en","description":"CWE-115 Misinterpretation of Input"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-18T16:32:14.847Z"}}]}}}