VDB
Sign up
HIGH7.5

GHSA-gwfg-cqmg-cf8f

WEBRick vulnerable to HTTP Request/Response Smuggling

Quick fix

GHSA-gwfg-cqmg-cf8f — webrick: upgrade to the fixed version with the command below.

bundle update webrick

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/webrick
Introduced in: 1.6.0Fixed in: 1.6.1
Fixbundle update webrick
RubyGems/webrick
Introduced in: 1.5.0Fixed in: 1.5.1
Fixbundle update webrick
RubyGems/webrick
Introduced in: 0Fixed in: 1.4.4
Fixbundle update webrick

References