CVE-2024-35231
Ruby vulnerability analysis and mitigation

Overview

rack-contrib provides contributed rack middleware and utilities for Rack, a Ruby web server interface. Versions of rack-contrib prior to 2.5.0 are vulnerable to denial of service due to the fact that the user controlled data profiler_runs was not constrained to any limitation. The vulnerability was discovered and disclosed in May 2024, affecting all versions up to 2.4 (GitHub Advisory).

Technical details

The vulnerability stems from unconstrained user input in the profiler_runs parameter, which could lead to unlimited resource allocation on the server side. The vulnerability is tracked as CWE-770 (Allocation of Resources Without Limits or Throttling). The CVSS v3.1 score is 8.6 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction (GitHub Advisory).

Impact

The vulnerability could lead to resource exhaustion through remotely controlled values, potentially causing a denial of service condition. An attacker could exploit this by sending requests with extremely large values for the profiler_runs parameter, causing the server to allocate excessive resources (GitHub Advisory).

Exploitability

The vulnerability is easily exploitable through HTTP requests. A proof of concept exists where an attacker can trigger the vulnerability using a simple curl command: curl "http://127.0.0.1:9292/?profiler_runs=9999999999&profile=process_time" (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.5.0 of rack-contrib. The fix implements a maximum limit on the number of profiler runs to prevent resource exhaustion. Users should upgrade to version 2.5.0 or later to address this vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71847HIGH8.7
  • Ruby logoRuby
  • ruby3.2-rails-8.1
NoYesAug 07, 2026
CVE-2026-45414HIGH8.5
  • Ruby logoRuby
  • decidim
NoYesAug 06, 2026
CVE-2026-45573MEDIUM6.4
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026
CVE-2026-45415MEDIUM6
  • Ruby logoRuby
  • decidim-verifications
NoYesAug 06, 2026
CVE-2026-45572MEDIUM4.8
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management