Skip to main content

Uncontrolled Resource Consumption


Severity Medium
Score 5.9/10


Possible Denial of Service Vulnerability in Rack’s header parsing versions 2.0.0.alpha through and 3.0.0 through Carefully crafted input can cause header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse headers using Rack (virtually all Rails applications) are impacted. Setting "Regexp.timeout" in Ruby 3.2 is a possible workaround.

  • HIGH
  • NONE
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.


Advisory Timeline

  • Published