CVEMETERBack to radar
OFFICIAL RECORD · Go

CVE-2025-22870

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 4.4 · medium

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

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.425% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 4.4 · published by Ubuntu Security
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Assessment source · checked 2026-11-19T16:50:18.698Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T16:50:18.698ZUbuntu Security
epssverified2026-11-19T16:04:40.588ZFIRST EPSS
patchesverified2026-11-19T16:50:18.698ZUbuntu Security
affectedverified2026-11-19T12:57:27.473ZCVE Program
lifecycleverified2026-11-19T12:57:27.473ZCVE Program

Affected versions and configuration

Go standard library net/http; default status: unaffected: 0 to < 1.23.7 [affected; scheme: semver]; 1.24.0-0 to < 1.24.1 [affected; scheme: semver] golang.org/x/net golang.org/x/net/http/httpproxy; default status: unaffected: 0 to < 0.36.0 [affected; scheme: semver] golang.org/x/net golang.org/x/net/proxy; default status: unaffected: 0 to < 0.36.0 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.23",
    "debian": "https://tracker.debian.org/pkg/golang-1.23",
    "source": "https://ubuntu.com/security/cve?package=golang-1.23",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life, was needs-triage",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life, was needs-triage",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life, was needs-triage",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "code not vulnerable - bot",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "golang-1.22",
    "debian": "https://tracker.debian.org/pkg/golang-1.22",
    "source": "https://ubuntu.com/security/cve?package=golang-1.22",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
    "statuses": [
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1.22.2-2~22.04.3",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1.22.2-2ubuntu0.4",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1.22.8-1ubuntu0.1",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Go standard library",
      "product": "net/http",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.23.7",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.24.0-0",
          "lessThan": "1.24.1",
          "versionType": "semver"
        }
      ],
      "packageName": "net/http",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "envProxyFunc"
        },
        {
          "name": "ProxyFromEnvironment"
        }
      ]
    },
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/http/httpproxy",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.36.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/http/httpproxy",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "config.useProxy"
        },
        {
          "name": "domainMatch.match"
        }
      ]
    },
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/proxy",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.36.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/proxy",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "PerHost.dialerForRequest"
        },
        {
          "name": "PerHost.AddFromString"
        },
        {
          "name": "Dial"
        },
        {
          "name": "FromEnvironment"
        },
        {
          "name": "FromEnvironmentUsing"
        },
        {
          "name": "PerHost.Dial"
        },
        {
          "name": "PerHost.DialContext"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "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": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "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": {
              "id": "CVE-2025-22870",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-03-18T16:31:16.493335Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-115",
              "description": "CWE-115 Misinterpretation of Input"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-03-18T16:32:14.847Z"
      }
    }
  ]
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Go standard library",
      "product": "net/http",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.23.7",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.24.0-0",
          "lessThan": "1.24.1",
          "versionType": "semver"
        }
      ],
      "packageName": "net/http",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "envProxyFunc"
        },
        {
          "name": "ProxyFromEnvironment"
        }
      ]
    },
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/http/httpproxy",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.36.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/http/httpproxy",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "config.useProxy"
        },
        {
          "name": "domainMatch.match"
        }
      ]
    },
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/proxy",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.36.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/proxy",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "PerHost.dialerForRequest"
        },
        {
          "name": "PerHost.AddFromString"
        },
        {
          "name": "Dial"
        },
        {
          "name": "FromEnvironment"
        },
        {
          "name": "FromEnvironmentUsing"
        },
        {
          "name": "PerHost.Dial"
        },
        {
          "name": "PerHost.DialContext"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "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": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "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": {
              "id": "CVE-2025-22870",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-03-18T16:31:16.493335Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-115",
              "description": "CWE-115 Misinterpretation of Input"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-03-18T16:32:14.847Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2025-3503",
  "aliases": [
    "CVE-2025-22870",
    "GHSA-qxp5-gwg8-xv66"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.23.7"
            },
            {
              "introduced": "1.24.0-0"
            },
            {
              "fixed": "1.24.1"
            }
          ]
        }
      ],
      "package": {
        "name": "stdlib",
        "purl": "pkg:golang/stdlib",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2025-3503.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "net/http",
            "symbols": [
              "ProxyFromEnvironment",
              "envProxyFunc"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/654697",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/71984",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2025-3503",
    "review_status": "REVIEWED"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-qxp5-gwg8-xv66",
  "aliases": [
    "CVE-2025-22870",
    "GO-2025-3503"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.36.0"
            }
          ]
        }
      ],
      "package": {
        "name": "golang.org/x/net",
        "purl": "pkg:golang/golang.org/x/net",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-qxp5-gwg8-xv66/GHSA-qxp5-gwg8-xv66.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22870",
      "type": "ADVISORY"
    },
    {
      "url": "https://go-review.googlesource.com/q/project:net",
      "type": "PACKAGE"
    },
    {
      "url": "https://go.dev/cl/654697",
      "type": "WEB"
    },
    {
      "url": "https://go.dev/issue/71984",
      "type": "WEB"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ",
      "type": "WEB"
    },
    {
      "url": "https://pkg.go.dev/vuln/GO-2025-3503",
      "type": "WEB"
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20250509-0007",
      "type": "WEB"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2025/03/07/2",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-115",
      "CWE-20"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2025-03-12T19:15:38Z",
    "github_reviewed_at": "2025-03-12T22:06:40Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2025-3503",
  "aliases": [
    "CVE-2025-22870",
    "GHSA-qxp5-gwg8-xv66"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.36.0"
            }
          ]
        }
      ],
      "package": {
        "name": "golang.org/x/net",
        "purl": "pkg:golang/golang.org/x/net",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2025-3503.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "golang.org/x/net/http/httpproxy",
            "symbols": [
              "config.useProxy",
              "domainMatch.match"
            ]
          },
          {
            "path": "golang.org/x/net/proxy",
            "symbols": [
              "Dial",
              "FromEnvironment",
              "FromEnvironmentUsing",
              "PerHost.AddFromString",
              "PerHost.Dial",
              "PerHost.DialContext",
              "PerHost.dialerForRequest"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/654697",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/71984",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2025-3503",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / jammygolang-1.22security1.22.2-2~22.04.3Official record
distribution-packageUbuntu / noblegolang-1.22security1.22.2-2ubuntu0.4Official record
distribution-packageUbuntu / oraculargolang-1.22security1.22.8-1ubuntu0.1Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.23.7Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.24.1Official record
ecosystem-boundaryGo / packagegolang.org/x/netNot a distribution channel0.36.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history