GHSA-qxp5-gwg8-xv66

HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

At a glance

Published
Updated
CVE
CVE-2025-22870
Aliases
GO-2025-3503
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

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.

Affected packages

PackageVersions
Go · golang.org/x/netintroduced 0, fixed 0.36.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database