Advisory

GHSA-6f62-3596-g6w7

Also known as: CVE-2024-47220

Summary

HTTP Request Smuggling in ruby webrick

Details

An issue was discovered in the WEBrick toolkit through 1.8.1 for Ruby. It allows HTTP request smuggling by providing both a Content-Length header and a Transfer-Encoding header, e.g., "GET /admin HTTP/1.1\r\n" inside of a "POST /user HTTP/1.1\r\n" request. NOTE: the supplier's position is "Webrick should not be used in production."

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-09-22 03:30 UTC
Modified
2026-09-10 03:50 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