First published: Fri Mar 07 2025(Updated: )
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.
Credit: security@golang.org
Affected Software | Affected Version | How to fix |
---|---|---|
Golang | ||
go/golang.org/x/net | <0.36.0 | 0.36.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-22870 is classified as a moderate severity vulnerability due to improper handling of IPv6 zone IDs in proxy pattern matching.
To fix CVE-2025-22870, update to the latest version of the golang.org/x/net package where the issue has been addressed.
CVE-2025-22870 affects systems using the Golang library, specifically those making use of proxy settings with IPv6 addresses.
Exploitation of CVE-2025-22870 could lead to sensitive information being leaked or improper access control in applications that rely on proxy configurations.
Using the NO_PROXY environment variable in environments affected by CVE-2025-22870 can lead to unintended behavior, making it unsafe until the vulnerability is mitigated.