ADVISORIES

GitHub Advisory Database

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
From 4.2.0 before 4.2.5.1 (fixed in 4.2.5.1)
RubyGemsactionpack
All versions before 3.2.22.1 (fixed in 3.2.22.1)
RubyGemsactionpack
From 4.0.0 before 4.1.14.1 (fixed in 4.1.14.1)

References