CVE-2024-47220
An issue was discovered in the WEBrick toolkit through 1.8.1 for …
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."
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ruby/webrick/issues/145
- github.com/ruby/webrick/issues/145#issuecomment-2369994610
- github.com/ruby/webrick/issues/145#issuecomment-2372838285
- github.com/ruby/webrick/pull/146/commits/d88321da45dcd230ac2b4585cad4833d6d5e8841
- nvd.nist.gov/vuln/detail/CVE-2024-47220
- github.com/ruby/webrick/commit/f5faca9222541591e1a7c3c97552ebb0c92733c7
- github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2024-47220.yml
- github.com/advisories/GHSA-6f62-3596-g6w7
- nvd.nist.gov/vuln/detail/CVE-2024-47220
- cve.org/CVERecord?id=CVE-2024-47220
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.