Advisory

GHSA-r995-q44h-hr64

Also known as: CVE-2025-6442

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-26 21:31 UTC
Modified
2025-06-30 13:26 UTC

Affected packages and fixes

webrick

RubyGems · All systems

Affected

  • introduced 0, fixed 1.8.2 (ecosystem)

Fixed versions

1.8.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences