GitHub Advisoryadvisory · RubyGems

GHSA-r995-q44h-hr64 Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling

MEDIUM Published 2025-06-26 Modified 2025-06-30 Official page ↗
Aliases
CVE-2025-6442
Ecosystem
RubyGems
Packages
webrick
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Weaknesses
CWE-444
Reviewed
2025-06-27

Affected packages

• RubyGems webrick: < 1.8.2 → fixed in 1.8.2

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.

Related

Alias · CVE (1)

  • CVE-2025-6442 Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. vulnerability

Weakness · CWE (1)

  • CWE-444 Inconsistent Interpretation of HTTP Requests weakness

References