ADVISORIES

GitHub Advisory Database

GHSA-gwfg-cqmg-cf8f

WEBRick vulnerable to HTTP Request/Response Smuggling

Details

An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypass a reverse proxy (which also has a poor header check), which may lead to an HTTP Request Smuggling attack.

Affected packages

EcosystemPackageAffected versions
RubyGemswebrick
From 1.6.0 before 1.6.1 (fixed in 1.6.1)
RubyGemswebrick
From 1.5.0 before 1.5.1 (fixed in 1.5.1)
RubyGemswebrick
All versions before 1.4.4 (fixed in 1.4.4)

References