CVE-2025-22870 Details
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.
A vulnerability exists in Golang's proxy handling that can lead to a bypass of proxy settings. This issue arises in the net/http, x/net/proxy, and x/net/http/httpproxy packages, specifically in versions prior to 0.36.0. The vulnerability occurs when hosts are matched against proxy patterns, as an IPv6 zone ID can be incorrectly interpreted as part of the hostname. For instance, with the NO_PROXY environment variable set to '*.example.com', a request to '[::1%25.example.com]:80' would mistakenly match and bypass the proxy.
Users can update to Golang versions 1.24.1 or 1.23.7, which include the necessary fix. NetApp products affected by this vulnerability should also be updated to versions that include the Golang 1.24.1 or 1.23.7 update.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 12, 2025CISA-ADP
Assessed Mar 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20250509-0007/ | CVE | AdvisoryRemedyVendor |
| http://www.openwall.com/lists/oss-security/2025/03/07/2 | CVE | Mailing ListRemedy |
| https://go.dev/cl/654697 | [email protected] | Source Code |
| https://go.dev/issue/71984 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ | [email protected] | |
| https://pkg.go.dev/vuln/GO-2025-3503 | [email protected] | AdvisoryBundleSource Code |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-115 | Misinterpretation of Input | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| golang.org/x/net/http/httpproxy | All versions |
CPE
Remediation
| |
| golang.org/x/net/proxy | All versions |
CPE
Remediation
| |
| NetApp | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | CVE Modified | [email protected] |
| May 9, 2025 | CVE Modified | CVE |
| Mar 18, 2025 | CVE Modified | CISA-ADP |
| Mar 12, 2025 | New CVE Received | [email protected] |
| Mar 12, 2025 | CVE Modified | CVE |
Volerion