GHSA-r995-q44h-hr64

Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling

At a glance

Published
Updated
CVE
CVE-2025-6442
CVSS_V3
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

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.

Affected packages

PackageVersions
RubyGems · webrickintroduced 0, fixed 1.8.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database