GitHub Advisory Database
GHSA-hg78-4f6x-99wq
Rack vulnerable to Denial of Service
Details
There is a possible DoS vulnerability in the multipart parser in Rack before 2.0.6. Specially crafted requests can cause the multipart parser to enter a pathological state, causing the parser to use CPU resources disproportionate to the request size.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | rack | From 2.0.4 before 2.0.6 (fixed in 2.0.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-16470
- https://access.redhat.com/errata/RHSA-2019:3172
- https://github.com/rack/rack
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16470.yml
- https://groups.google.com/forum/#!msg/rubyonrails-security/U_x-YkfuVTg/xhvYAmp6AAAJ
- https://groups.google.com/forum/#!topic/ruby-security-ann/Dz4sRl-ktKk