GHSA-6f62-3596-g6w7 json
HTTP Request Smuggling in ruby webrick
published 2y ago modified 2mo ago also CVE-2024-47220
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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."
Patch / fix
Is GHSA-6f62-3596-g6w7 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | webrick | <1.8.2 |
1.8.2 |
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/ruby/webrick/pull/146/commits/d88321da45dcd230ac2b4585cad4833d6d5e8841
web
-
github.com
/ruby/webrick/commit/f5faca9222541591e1a7c3c97552ebb0c92733c7
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-47220
advisory
-
github.com
/ruby/webrick/issues/145
web
-
github.com
/ruby/webrick/issues/145#issuecomment-2369994610
web
-
github.com
/ruby/webrick/issues/145#issuecomment-2372838285
web
-
github.com
/ruby/webrick
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2024-47220.yml
web
Sources
- GitHub Advisory GHSA-6f62-3596-g6w7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.