Denial of Service Vulnerability in Rack Content-Disposition parsing
https://github.com/rack/rack
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
https://github.com/rack/rack
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
There is a denial of service vulnerability in the Content-Disposition parsingcomponent of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1. This could allow an attacker to craft an input that can cause Content-Disposition header parsing in Rackto take an unexpected amount of time, possibly resulting in a denial ofservice attack vector. This header is used typically used in multipartparsing. Any applications that parse multipart posts using Rack (virtuallyall Rails applications) are impacted.
From the CVE record · hackerone
Rack’s Content-Disposition parser can take an unexpectedly long time to process a crafted header. An attacker who can submit a multipart post to an application using Rack may cause a denial of service.
Check applications using RubyGems rack versions >=2.0.0 <2.0.9.2, >=2.1.0 <2.1.4.2, >=2.2.0 <2.2.6.1, or >=3.0.0.0 <3.0.4.1, particularly those parsing multipart posts.