CVE-2024-47220
HIGH7.5EPSS 0.11%HTTP Request Smuggling in ruby webrick
Published: 9/22/2024Modified: 2/4/2026
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."
Affected packages (2)
- Debian/ruby-webrickfrom 0
- RubyGems/webrickfrom 0, < 1.8.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-47220
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-47220
- PATCHhttps://github.com/ruby/webrick
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2024-47220.yml
- WEBhttps://github.com/ruby/webrick/commit/f5faca9222541591e1a7c3c97552ebb0c92733c7
- WEBhttps://github.com/ruby/webrick/issues/145
- WEBhttps://github.com/ruby/webrick/issues/145#issuecomment-2369994610
- WEBhttps://github.com/ruby/webrick/issues/145#issuecomment-2372838285
- WEBhttps://github.com/ruby/webrick/pull/146/commits/d88321da45dcd230ac2b4585cad4833d6d5e8841