Skip to main content

Inefficient Regular Expression Complexity

CVE-2024-25126

Severity High
Score 7.5/10

Summary

Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack's media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This issue affects the package rack versions 0.4 through 2.2.8, and 3.0.0.beta1 through 3.0.9.

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

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