Ubuntu CVE Tracker
UBUNTU-CVE-2025-6442
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm11 (fixed in 2.3.1-2~ubuntu16.04.16+esm11) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.16+esm6 (fixed in 2.5.1-1ubuntu1.16+esm6) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.18+esm3 (fixed in 2.7.0-5ubuntu1.18+esm3) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby-webrick | All versions before 1.7.0-3ubuntu0.2 (fixed in 1.7.0-3ubuntu0.2) |
| Ubuntu:24.04:LTS | ruby-webrick | All versions before 1.8.1-1ubuntu0.2 (fixed in 1.8.1-1ubuntu0.2) |
| Ubuntu:25.10 | ruby-webrick | All versions before 1.9.1-1 (fixed in 1.9.1-1) |
| Ubuntu:26.04:LTS | ruby-webrick | All versions before 1.9.1-1 (fixed in 1.9.1-1) |