actionpack is vulnerable to denial of service via a crafted HTTP Accept header
High severity
GitHub Reviewed
Published
Oct 24, 2017
to the GitHub Advisory Database
•
Updated Jul 31, 2023
Package
Affected versions
>= 4.2.0, <= 4.2.5.0
<= 3.2.22.0
>= 4.0.0, <= 4.1.14.0
Patched versions
4.2.5.1
3.2.22.1
4.1.14.1
Description
Published to the GitHub Advisory Database
Oct 24, 2017
Reviewed
Jun 16, 2020
Last updated
Jul 31, 2023
actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly restrict use of the MIME type cache, which allows remote attackers to cause a denial of service (memory consumption) via a crafted HTTP Accept header.
References