VDB
KO
HIGH 7.5

GHSA-ffpv-c4hm-3x6v

actionpack is vulnerable to denial of service via a crafted HTTP Accept header

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionpack
Introduced in: 4.2.0 Fixed in: 4.2.5.1
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 0 Fixed in: 3.2.22.1
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 4.0.0 Fixed in: 4.1.14.1
Fix bundle update actionpack

References