CVEfocus › CVE database › CVE-2025-6442

CVE-2025-6442Ruby WEBrick read_header HTTP Request Smuggling Vulnerability

CVSS 6.5 MediumEPSS 0.6% (higher than 41% of CVEs)Published 2025-06-25Updated 2025-06-25Assigner: zdi

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.

CWE-444

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
10Fix pending
24Will not fix
89Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 26.04ruby-webrickFixed1.9.1-1UBUNTU-CVE-2025-6442
Ubuntu 25.10jrubyNot affected
vulnerable_code_not_present
Ubuntu 25.10ruby-webrickFixed1.9.1-1UBUNTU-CVE-2025-6442
Ubuntu 24.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 24.04ruby-webrickFixed1.8.1-1ubuntu0.2UBUNTU-CVE-2025-6442
Ubuntu 22.04ruby-webrickFixed1.7.0-3ubuntu0.2UBUNTU-CVE-2025-6442
Ubuntu 20.04jrubyFix pendingUBUNTU-CVE-2025-6442
Ubuntu 20.04ruby2.7Fix pending2.7.0-5ubuntu1.18+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-6442
Ubuntu 18.04jrubyFix pendingUBUNTU-CVE-2025-6442
Ubuntu 18.04ruby2.5Fix pending2.5.1-1ubuntu1.16+esm6 (Ubuntu Pro)UBUNTU-CVE-2025-6442
Ubuntu 16.04jrubyFix pendingUBUNTU-CVE-2025-6442
Ubuntu 16.04ruby2.3Fix pending2.3.1-2~ubuntu16.04.16+esm11 (Ubuntu Pro)UBUNTU-CVE-2025-6442
Ubuntu 14.04jrubyFix pendingUBUNTU-CVE-2025-6442
Debian 14ruby-webrickFixed1.9.1-1DEBIAN-CVE-2025-6442
Debian 13ruby-webrickFixed1.9.1-1DEBIAN-CVE-2025-6442
Debian 12ruby-webrickFix pendingDEBIAN-CVE-2025-6442
Red Hat Enterprise Linux 10rubyNot affected
Red Hat Enterprise Linux 10ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 10ruby-default-gemsNot affected
Red Hat Enterprise Linux 10ruby-develNot affected
Red Hat Enterprise Linux 10ruby-docNot affected
Red Hat Enterprise Linux 10ruby-libsNot affected
Red Hat Enterprise Linux 10rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 10rubygem-bundlerNot affected
Red Hat Enterprise Linux 10rubygem-io-consoleNot affected
Red Hat Enterprise Linux 10rubygem-irbNot affected
Red Hat Enterprise Linux 10rubygem-jsonNot affected
Red Hat Enterprise Linux 10rubygem-minitestNot affected
Red Hat Enterprise Linux 10rubygem-power_assertNot affected
Red Hat Enterprise Linux 10rubygem-psychNot affected
Red Hat Enterprise Linux 10rubygem-raccNot affected
Red Hat Enterprise Linux 10rubygem-rakeNot affected
Red Hat Enterprise Linux 10rubygem-rbsNot affected
Red Hat Enterprise Linux 10rubygem-rdocNot affected
Red Hat Enterprise Linux 10rubygem-rexmlNot affected
Red Hat Enterprise Linux 10rubygem-rssNot affected
Red Hat Enterprise Linux 10rubygem-test-unitNot affected
Red Hat Enterprise Linux 10rubygem-typeprofNot affected
Red Hat Enterprise Linux 10rubygemsNot affected
Red Hat Enterprise Linux 10rubygems-develNot affected
Red Hat Enterprise Linux 9pcsFix pending
Fix deferred
Red Hat Enterprise Linux 9pcs-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Enterprise Linux 9ruby-default-gemsNot affected
Red Hat Enterprise Linux 9ruby-develNot affected
Red Hat Enterprise Linux 9ruby-docNot affected
Red Hat Enterprise Linux 9ruby-libsNot affected
Red Hat Enterprise Linux 9rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 9rubygem-bundlerNot affected
Red Hat Enterprise Linux 9rubygem-io-consoleNot affected
Red Hat Enterprise Linux 9rubygem-irbNot affected
Red Hat Enterprise Linux 9rubygem-jsonNot affected
Red Hat Enterprise Linux 9rubygem-minitestNot affected
Red Hat Enterprise Linux 9rubygem-power_assertNot affected
Red Hat Enterprise Linux 9rubygem-psychNot affected
Red Hat Enterprise Linux 9rubygem-rakeNot affected
Red Hat Enterprise Linux 9rubygem-rbsNot affected
Red Hat Enterprise Linux 9rubygem-rdocNot affected
Red Hat Enterprise Linux 9rubygem-rexmlNot affected
Red Hat Enterprise Linux 9rubygem-rssNot affected
Red Hat Enterprise Linux 9rubygem-test-unitNot affected
Red Hat Enterprise Linux 9rubygem-typeprofNot affected
Red Hat Enterprise Linux 9rubygemsNot affected
Red Hat Enterprise Linux 9rubygems-develNot affected
Red Hat Enterprise Linux 8rubyNot affected
Red Hat Enterprise Linux 8ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 8ruby-default-gemsNot affected
Red Hat Enterprise Linux 8ruby-develNot affected
Red Hat Enterprise Linux 8ruby-docNot affected
Red Hat Enterprise Linux 8ruby-irbNot affected
Red Hat Enterprise Linux 8ruby-libsNot affected
Red Hat Enterprise Linux 8rubygem-abrtNot affected
Red Hat Enterprise Linux 8rubygem-abrt-docNot affected
Red Hat Enterprise Linux 8rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 8rubygem-bsonNot affected
Red Hat Enterprise Linux 8rubygem-bson-docNot affected
Red Hat Enterprise Linux 8rubygem-bundlerNot affected
Red Hat Enterprise Linux 8rubygem-bundler-docNot affected
Red Hat Enterprise Linux 8rubygem-did_you_meanNot affected
Red Hat Enterprise Linux 8rubygem-io-consoleNot affected
Red Hat Enterprise Linux 8rubygem-irbNot affected
Red Hat Enterprise Linux 8rubygem-jsonNot affected
Red Hat Enterprise Linux 8rubygem-minitestNot affected
Red Hat Enterprise Linux 8rubygem-mongoNot affected
Red Hat Enterprise Linux 8rubygem-mongo-docNot affected
Red Hat Enterprise Linux 8rubygem-mysql2Not affected
Red Hat Enterprise Linux 8rubygem-mysql2-docNot affected
Red Hat Enterprise Linux 8rubygem-net-telnetNot affected
Red Hat Enterprise Linux 8rubygem-opensslNot affected
Red Hat Enterprise Linux 8rubygem-pgNot affected
Red Hat Enterprise Linux 8rubygem-pg-docNot affected
Red Hat Enterprise Linux 8rubygem-power_assertNot affected
Red Hat Enterprise Linux 8rubygem-psychNot affected
Red Hat Enterprise Linux 8rubygem-raccNot affected
Red Hat Enterprise Linux 8rubygem-rakeNot affected
Red Hat Enterprise Linux 8rubygem-rbsNot affected
Red Hat Enterprise Linux 8rubygem-rdocNot affected
Red Hat Enterprise Linux 8rubygem-rexmlNot affected
Red Hat Enterprise Linux 8rubygem-rssNot affected
Red Hat Enterprise Linux 8rubygem-test-unitNot affected
Red Hat Enterprise Linux 8rubygem-typeprofNot affected
Red Hat Enterprise Linux 8rubygem-xmlrpcNot affected
Red Hat Enterprise Linux 8rubygemsNot affected
Red Hat Enterprise Linux 8rubygems-develNot affected
Red Hat Enterprise Linux 7rubyWill not fix
Out of support scope
Red Hat Enterprise Linux 7ruby-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ruby-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7ruby-irbWill not fix
Out of support scope
Red Hat Enterprise Linux 7ruby-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ruby-tcltkWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-bigdecimalWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-io-consoleWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-jsonWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-minitestWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-psychWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-rakeWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygem-rdocWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygemsWill not fix
Out of support scope
Red Hat Enterprise Linux 7rubygems-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6rubyWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-irbWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-rdocWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-riWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 6ruby-tcltkWill not fix
Out of support scope
RubyGems librarywebrickFixed1.8.2GHSA-r995-q44h-hr64

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.