cve.bz

CVE-2025-6442 ruby-lang webrick: HTTP Request Smuggling

5.9 mediumEPSS 0.5%Fix available

Medium (5.9) in ruby-lang webrick. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in webrick 1.8.2.

On this page
Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The specific flaw exists within the read_headers method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests. Was ZDI-CAN-21876.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-24. 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-06-25. 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-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6442 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6442?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6442?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-6442 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 NVD's CPE matches.

ProductAffected
ruby-lang:webrickbefore 1.8.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r995-q44h-hr64RubyGemswebrick<1.8.21.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby-webrickno fix listedDEBIAN-CVE-2025-6442
Debian13, 14ruby-webrick1.9.1-1DEBIAN-CVE-2025-6442
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 morejrubyno fix listedUBUNTU-CVE-2025-6442
Ubuntu22.04:LTSruby-webrick1.7.0-3ubuntu0.2UBUNTU-CVE-2025-6442 USN-7709-1
Ubuntu24.04:LTSruby-webrick1.8.1-1ubuntu0.2UBUNTU-CVE-2025-6442 USN-7709-1
Ubuntu25.10, 26.04:LTSruby-webrick1.9.1-1UBUNTU-CVE-2025-6442
UbuntuPro:16.04:LTSruby2.32.3.1-2~ubuntu16.04.16+esm11UBUNTU-CVE-2025-6442 USN-7840-1
UbuntuPro:18.04:LTSruby2.52.5.1-1ubuntu1.16+esm6UBUNTU-CVE-2025-6442 USN-7840-1
UbuntuPro:20.04:LTSruby2.72.7.0-5ubuntu1.18+esm3UBUNTU-CVE-2025-6442 USN-7840-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moreruby2.52.5.9-150000.4.46.1SUSE-SU-2025:02739-2
SUSELinux Enterprise Module for Basesystem 15 SP6ruby2.52.5.9-150000.4.46.1SUSE-SU-2025:02739-1
SUSELinux Enterprise Module for Basesystem 15 SP7ruby2.52.5.9-150700.24.3.1SUSE-SU-2025:4264-1
openSUSELeap 15.6ruby2.52.5.9-150000.4.46.1SUSE-SU-2025:02739-1
Azure Linux2ruby3.1.7-2AZL-64364
Azure Linux2rubygem-webrick1.7.0-2AZL-64367
Azure Linux3ruby3.3.5-4AZL-64352
Azure Linux3rubygem-webrick1.8.1-2AZL-64355

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

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
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-cni-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-must-gather-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-pilot-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-proxyv2-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-rhel9-operatorFix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-sail-operator-bundleFix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Fix deferred
Red Hat Enterprise Linux 10rubyNot affected
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyOut of support scope
Red Hat Enterprise Linux 8ruby:2.5/rubyOut of support scope
Red Hat Enterprise Linux 8ruby:3.3/rubyNot affected
Red Hat Enterprise Linux 9pcsFix deferred
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Enterprise Linux 9ruby:3.3/rubyNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
4 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-6442.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON