Skip to main content

Inefficient Regular Expression Complexity

CVE-2024-41128

Severity Low
Score 3.7/10

Summary

Action Pack is a framework for handling and responding to web requests. There is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. Carefully crafted query parameters can cause query parameter filtering to take an unexpected amount of time, potentially leading to a Denial of Service (DoS) vulnerability. One may use Ruby 3.2 as a workaround. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so it is unaffected. This issue affects actionpack versions 3.1.0.beta1 through 6.1.7.8, 7.0.0.alpha1 through 7.0.8.4, 7.1.0.beta1 through 7.1.4, and 7.2.0.beta1 through 7.2.1.

  • HIGH
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published