CVE-2024-35231: high-severity vulnerability in rack-contrib
rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
rack-contrib versions before 2.5.0 allow attackers to cause a denial of service by sending requests with extremely large values in the 'profiler_runs' parameter, forcing the server to allocate unlimited memory and CPU resources.
The vulnerability exists in the profiler middleware which accepts user-controlled 'profiler_runs' parameter without validation or limits (CWE-770: Allocation of Resources Without Limits or Throttling). An unauthenticated remote attacker can craft requests with arbitrarily large values to exhaust server resources, resulting in DoS. Fixed in version 2.5.0 with proper input validation.