CVE-2025-6442 Ruby WEBrick read_header HTTP Request Smuggling Vulnerability
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianCloud Platforms
Description
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.
Upgrade path
15 packages: 13 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-webrick(Debian 12) | = 1.8.1-1; = 1.9.1-1; = 1.9.2-1; = 1.9.2-2 +1 more | No fix listed | No fix yet |
| azure linux ruby(Azure Linux 3.0) | < 3.3.5-4 | 3.3.5-4 | Fixed |
| azure linux rubygem-webrick(Azure Linux 3.0) | < 1.8.1-2 | 1.8.1-2 | Fixed |
| cbl-mariner ruby(CBL-Mariner 2.0) | < 3.1.7-2 | 3.1.7-2 | Fixed |
| cbl-mariner rubygem-webrick(CBL-Mariner 2.0) | < 1.7.0-2 | 1.7.0-2 | Fixed |
| debian/ruby-webrick(Debian 13) | < 1.9.1-1 | 1.9.1-1 | Fixed |
| debian/ruby-webrick(Debian 14) | < 1.9.1-1 | 1.9.1-1 | Fixed |
| Microsoft azure linux | < 1.8.1-2; < 3.3.5-4 | 1.8.1-2, 3.3.5-4 | Fixed |
| Microsoft cbl mariner | < 1.7.0-2; < 3.1.7-2 | 1.7.0-2, 3.1.7-2 | Fixed |
| ruby-lang webrick | < 1.8.2 | 1.8.2 | Fixed |
| rubygems webrick(RubyGems) | < 1.8.2; = 1.3.1; = 1.4.0; = 1.4.0.beta1 +11 more | 1.8.2 | Fixed |
| ubuntu/ruby-webrick(Ubuntu 22.04) | < 1.7.0-3ubuntu0.2 | 1.7.0-3ubuntu0.2 | Fixed |
| ubuntu/ruby-webrick(Ubuntu 24.04) | < 1.8.1-1ubuntu0.2 | 1.8.1-1ubuntu0.2 | Fixed |
| ubuntu/ruby-webrick(Ubuntu 26.04) | < 1.9.1-1 | 1.9.1-1 | Fixed |
| ruby WEBrick | = 1.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux rubygem-webrick(Azure Linux:3.0) | < 1.8.1-2 | 1.8.1-2 |
| cbl-mariner ruby(CBL-Mariner:2.0) | < 3.1.7-2 | 3.1.7-2 |
| cbl-mariner rubygem-webrick(CBL-Mariner:2.0) | < 1.7.0-2 | 1.7.0-2 |
| Microsoft cbl mariner | < 3.1.7-2 | 3.1.7-2 |
| Microsoft cbl mariner | < 1.7.0-2 | 1.7.0-2 |
| Microsoft azure linux | < 3.3.5-4 | 3.3.5-4 |
| Microsoft azure linux | < 1.8.1-2 | 1.8.1-2 |
| azure linux ruby(Azure Linux:3.0) | < 3.3.5-4 | 3.3.5-4 |
| rubygems webrick(RubyGems) | < 1.8.2 | 1.8.2 |
| rubygems webrick(RubyGems) | = 1.3.1 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.0 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.0.beta1 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.1 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.2 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.3 | No fix listed |
| rubygems webrick(RubyGems) | = 1.4.4 | No fix listed |
| rubygems webrick(RubyGems) | = 1.5.0 | No fix listed |
| rubygems webrick(RubyGems) | = 1.5.1 | No fix listed |
| rubygems webrick(RubyGems) | = 1.6.0 | No fix listed |
| rubygems webrick(RubyGems) | = 1.6.1 | No fix listed |
| rubygems webrick(RubyGems) | = 1.7.0 | No fix listed |
| rubygems webrick(RubyGems) | = 1.8.0 | No fix listed |
| rubygems webrick(RubyGems) | = 1.8.1 | No fix listed |
| debian/ruby-webrick(Debian:12) | All versions | No fix listed |
| debian/ruby-webrick(Debian:12) | = 1.8.1-1 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ruby-webrick(Debian:12) | = 1.9.1-1 | No fix listed |
| debian/ruby-webrick(Debian:12) | = 1.9.2-1 | No fix listed |
| debian/ruby-webrick(Debian:12) | = 1.9.2-2 | No fix listed |
| debian/ruby-webrick(Debian:13) | < 1.9.1-1 | 1.9.1-1 |
| debian/ruby-webrick(Debian:14) | < 1.9.1-1 | 1.9.1-1 |
| ruby WEBrick | = 1.8.1 | No fix listed |
| ubuntu/ruby-webrick(Ubuntu:22.04) | < 1.7.0-3ubuntu0.2 | 1.7.0-3ubuntu0.2 |
| ubuntu/ruby-webrick(Ubuntu:24.04) | < 1.8.1-1ubuntu0.2 | 1.8.1-1ubuntu0.2 |
| ubuntu/ruby-webrick(Ubuntu:26.04) | < 1.9.1-1 | 1.9.1-1 |
| ruby-lang webrick | < 1.8.2 | 1.8.2 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- ruby third-party-advisory vendor-advisory
- vendor-provided URL patch vendor-advisory
- github.com product
- github.com exploit
- ZDI-25-414 third-party-advisory
- Debian Security Tracker CVE-2025-6442 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-7709-1 vendor-advisory
- USN-7840-1 vendor-advisory
- www.cve.org