Advisory

GHSA-gwfg-cqmg-cf8f

Also known as: BIT-ruby-2020-25613, BIT-ruby-min-2020-25613, CVE-2020-25613

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:30 UTC
Modified
2025-05-29 23:24 UTC

Affected packages and fixes

webrick

RubyGems · All systems

Affected

  • introduced 1.6.0, fixed 1.6.1 (ecosystem)

Fixed versions

1.6.1

Fix

The export has no generic command for this ecosystem.

webrick

RubyGems · All systems

Affected

  • introduced 1.5.0, fixed 1.5.1 (ecosystem)

Fixed versions

1.5.1

Fix

The export has no generic command for this ecosystem.

webrick

RubyGems · All systems

Affected

  • introduced 0, fixed 1.4.4 (ecosystem)

Fixed versions

1.4.4

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