REDHAT-BUG-2454501: High severity Rack Rack vulnerability
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handlemimehead parses quoted multipart parameters such as Content-Disposition: form-data; name="..." using repeated String#index searches combined with String#slice! prefix deletion. For escape-heavy quoted values, this causes super-linear processing. An unauthenticated attacker can send a crafted multipart/form-data request containing many parts with long backslash-escaped parameter values to trigger excessive CPU usage during multipart parsing. This results in a denial of service condition in Rack applications that accept multipart form data. This issue has been patched in versions 3.1.21 and 3.2.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Rackto a version that resolves this vulnerability.Fixed in 3.1.21 - Upgrade
Upgrade
Rackto a version that resolves this vulnerability.Fixed in 3.2.6
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2454501?
The severity of REDHAT-BUG-2454501 is classified as high with a score of 7.
How do I fix REDHAT-BUG-2454501?
To fix REDHAT-BUG-2454501, you should upgrade Rack to version 3.1.21 or 3.2.6 and above.
What versions are affected by REDHAT-BUG-2454501?
Versions of Rack from 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6 are affected by REDHAT-BUG-2454501.
What is the risk level of REDHAT-BUG-2454501?
The risk level of REDHAT-BUG-2454501 is rated at 33.
What is the main issue described in REDHAT-BUG-2454501?
REDHAT-BUG-2454501 describes an issue in Rack::Multipart::Parser#handle_mime_head that affects the parsing of quoted multipart parameters.