GitHub Advisoryadvisory · RubyGems

GHSA-6f62-3596-g6w7 HTTP Request Smuggling in ruby webrick

HIGH Published 2024-09-22 Modified 2024-09-25 Official page ↗
Aliases
CVE-2024-47220
Ecosystem
RubyGems
Packages
webrick
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-444
Reviewed
2024-09-23

Affected packages

• RubyGems webrick: < 1.8.2 → fixed in 1.8.2

Description

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."

Related

Alias · not in database (1)

Weakness · CWE (1)

  • CWE-444 Inconsistent Interpretation of HTTP Requests weakness

References