CVE-2024-47220: High severity rubygems/webrick vulnerability
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."
Other sources
Rejected reason: DO NOT USE THIS CVE RECORD. ConsultIDs: none. Reason: This record was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rubygems/webrickto a version that resolves this vulnerability.Fixed in 1.8.2
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47220?
CVE-2024-47220 has a critical severity level due to the potential for HTTP request smuggling attacks.
How do I fix CVE-2024-47220?
To fix CVE-2024-47220, upgrade WEBrick to version 1.8.2 or later.
Which versions of WEBrick are affected by CVE-2024-47220?
WEBrick versions up to and including 1.8.1 are affected by CVE-2024-47220.
Can CVE-2024-47220 affect any other packages?
Yes, the Ruby package 'ruby-webrick' versions up to and including 1.8.1-1 are also affected by CVE-2024-47220.
What type of attack does CVE-2024-47220 enable?
CVE-2024-47220 enables HTTP request smuggling attacks, which can lead to various security breaches.