cve.bz

CVE-2025-22870 Misinterpretation of Input

4.4 mediumEPSS 0.4%Fix available

Medium (4.4). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/net 0.36.0.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-115 Misinterpretation of Input
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • golang.org/x/net (Go): fixed in 0.36.0
  • stdlib (Go): fixed in 1.23.7, 1.24.1
  • Debian, Ubuntu, SUSE, openSUSE, Alpine, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-22870 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22870?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22870?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22870 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library net/httpbefore 1.23.7
Go standard library net/httpfrom 1.24.0-0 before 1.24.1
golang.org/x/net/http/httpproxybefore 0.36.0
golang.org/x/net/proxybefore 0.36.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qxp5-gwg8-xv66Gogolang.org/x/net<0.36.00.36.0
GO-2025-3503Gostdlib<1.23.7
>=1.24.0-0 <1.24.1
1.23.7, 1.24.1
GO-2025-3503Gogolang.org/x/net<0.36.00.36.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-22870
Debian13golang-1.241.24.1-1DEBIAN-CVE-2025-22870
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2025-22870
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2025-22870
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2025-22870
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2025-22870
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 3 moreno fix listedUBUNTU-CVE-2025-22870
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.3UBUNTU-CVE-2025-22870 USN-7574-1
Ubuntu24.04:LTSgolang-1.21, golang-1.23no fix listedUBUNTU-CVE-2025-22870
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.4UBUNTU-CVE-2025-22870 USN-7574-1
Ubuntu25.10golang-1.23, golang-1.24no fix listedUBUNTU-CVE-2025-22870
Ubuntu26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-22870
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2025-22870
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-22870
2 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatefdupes1.61-90002.3.3.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatego1.22-EL1.22.9-90002.1.3.2SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updategolang-github-prometheus-promu0.17.0-90002.3.6.3SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updategolang-packaging15.0.17-90002.3.3.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundle-libsodium1.0.21-90002.3.3.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundle-swig4.1.1-90002.3.3.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundle-zeromq4.3.5-90002.3.9.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy, saltbundlepy-core3.11.15-90002.4.12.2SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-docker7.1.0-90002.4.3.2SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-lxml6.0.2-90002.3.6.2SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-m2crypto0.45.1-90002.3.14.1SUSE-SU-2026:2763-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-passlib, saltbundlepy-passlib-test1.7.4-90002.3.9.2SUSE-SU-2026:2763-1
114 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6amazon-ssm-agent3.3.1611.0-150000.5.23.1SUSE-SU-2025:0873-1
openSUSELeap 15.6apptainer1.3.6-150600.4.9.1SUSE-SU-2025:0980-1
openSUSELeap 15.6apptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
openSUSELeap 15.6cosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
openSUSELeap 15.6go1.231.23.7-150000.1.24.1SUSE-SU-2025:0803-1
openSUSELeap 15.6go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
openSUSELeap 15.6go1.241.24.1-150000.1.12.1SUSE-SU-2025:0802-1
openSUSELeap 15.6golang-github-prometheus-alertmanager0.26.0-150100.4.25.2SUSE-SU-2025:01992-1
openSUSELeap 15.6golang-github-prometheus-node_exporter1.9.1-150100.3.35.2SUSE-SU-2025:01988-1
openSUSELeap 15.6golang-github-prometheus-prometheus2.53.4-150100.4.26.2SUSE-SU-2025:01990-1
openSUSELeap 15.6grafana11.5.5-150200.3.72.2SUSE-SU-2025:01991-1
openSUSELeap 15.6helm3.17.2-150000.1.44.1SUSE-SU-2025:1007-1
33 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.21go1.23.7-r0ALPINE-CVE-2025-22870
Alpinev3.22, v3.23, v3.24go1.24.1-r0ALPINE-CVE-2025-22870
Alpinev3.22, v3.23, v3.24rclone1.69.2-r0ALPINE-CVE-2025-22870
Azure Linux2azcopy10.25.1-5AZL-58404
Azure Linux2git-lfs3.5.1-5AZL-58380
Azure Linux2golang1.18.8-8AZL-58452
Azure Linux2golang1.22.7-4AZL-58392
Azure Linux2influxdb2.6.1-22AZL-58386
Azure Linux2keda2.4.0-29AZL-58438
Azure Linux2packer1.9.5-12AZL-58396
Azure Linux2telegraf1.29.4-15AZL-58440
Azure Linux2vitess17.0.7-7AZL-58402
Azure Linux3azcopy10.25.1-4AZL-58458
Azure Linux3git-lfs3.6.1-2AZL-58446
Azure Linux3golangno fix listedAZL-79030 AZL-98829
8 more for Azure Linux in the JSON.
Alpaquita23go1.21.12-r4BELL-CVE-2025-22870
Alpaquitastreamgo1.24.1-r0BELL-CVE-2025-22870
BellSoft Hardened Containers23go1.21.12-r4BELL-CVE-2025-22870
BellSoft Hardened Containersstreamgo1.24.1-r0BELL-CVE-2025-22870

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
RHODF-4.18-RHEL-9odf4/cephcsi-operator-bundle:v4.18.3-4Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/cephcsi-rhel9:v4.18.3-2Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/cephcsi-rhel9-operator:v4.18.3-2Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/mcg-core-rhel9:v4.18.3-3Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/mcg-operator-bundle:v4.18.3-4Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/mcg-rhel9-operator:v4.18.3-3Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/ocs-client-console-rhel9:v4.18.3-2Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/ocs-client-operator-bundle:v4.18.3-4Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/ocs-client-rhel9-operator:v4.18.3-2Fixed 2025-05-14RHSA-2025:7616
RHODF-4.18-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.18.3-2Fixed 2025-05-14RHSA-2025:7616
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-reporter-rhel8Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
440 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22870.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • JoshuaProvoste/CVE-2025-22870 Harbor Check: matches CVE 2 stars, created
    Proof-of-concept for CVE-2025-22870 demonstrating HTTP proxy bypass in vulnerable versions (<0.36.0) of golang.org/x/net/http/httpproxy. Ex…

References

Check your stackJSON