CVE-2025-22870: HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
CVE-2025-22870 · Severity: medium · CVSS 4.4 · Published 2025-03-12
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.
Yes. golang.org/x/net (Go): upgrade to 0.36.0 or later; stdlib (Go): upgrade to 1.24.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-22870?
Check whether you run golang.org/x/net (Go) or stdlib (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.