Denial of service via multipart parsing in Rack
https://github.com/rack/rack
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
https://github.com/rack/rack
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
A denial of service vulnerability in the multipart parsing component of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1 and 3.0.0.1 could allow an attacker tocraft input that can cause RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.
From the CVE record · hackerone
Rack's multipart parser can take an unexpectedly long time to process crafted RFC2183 multipart boundaries, potentially causing a denial of service. Applications that parse multipart POST requests using Rack, including virtually all Rails applications, are affected when they process such input.
Check applications using RubyGems rack versions >=2.0.0 <2.0.9.2, >=2.1.0.0 <2.1.4.2, >=2.2.0.0 <2.2.6.1, or >=3.0.0.0 <3.0.4.1.