CVE-2025-6442Ruby-lang Webrick
Medium 5.9 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Webrick We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Jun 25, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Webrick.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | webrick |
< 1.8.2 |
1.8.2 |
gem "webrick", ">= 1.8.2" |
Per OSV / GitHub Advisories (GHSA-r995-q44h-hr64). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | webrick | < 1.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- www.zerodayinitiative.com Third Party Advisory