Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Rails | Ubuntu | bionic | * |
Rails | Ubuntu | mantic | * |
Rails | Ubuntu | trusty | * |
Rails | Ubuntu | xenial | * |
Rails-4.0 | Ubuntu | trusty | * |
Ruby-actionpack-3.2 | Ubuntu | trusty | * |
Ruby-activemodel-3.2 | Ubuntu | trusty | * |
Ruby-activerecord-3.2 | Ubuntu | trusty | * |
Ruby-activesupport-3.2 | Ubuntu | trusty | * |
Ruby-rails-3.2 | Ubuntu | trusty | * |
Attackers can create crafted inputs that
intentionally cause the regular expression to use
excessive backtracking in a way that causes the CPU
consumption to spike.