CVE-2024-35231 json
rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter
published 2024-05-27 2 y ago modified 2026-09-10 1 mo ago also GHSA-8c8q-2xw3-j869 , EUVD-2024-1519
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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. This would lead to allocating resources on the server side with no limitation and a potential denial of service by remotely user-controlled data. Version 2.5.0 contains a patch for the issue.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack-contrib | <2.5.0 |
2.5.0 |
Affected products
- rack rack-contrib
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7
web
-
github.com
/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-35231
advisory
-
github.com
/rack/rack-contrib
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack-contrib/CVE-2024-35231.yml
web
Sources
- CVE List CVE-2024-35231
- GitHub Advisory GHSA-8c8q-2xw3-j869
- NVD CVE-2024-35231
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.