# CVE-2024-35231: rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2024-05-27T16:40:08.678Z
- Modified: 2026-09-10T03:50:13.574Z
- Also known as: GHSA-8c8q-2xw3-j869
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rack rack-contrib: < 2.5.0; up to 2.4
- rack-contrib (RubyGems): before 2.5.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`

## References

- <https://github.com/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869> (web)
- <https://github.com/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35231> (advisory)
- <https://github.com/rack/rack-contrib> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-contrib/CVE-2024-35231.yml> (web)

## Sources

- CVE List: [CVE-2024-35231](https://www.cve.org/CVERecord?id=CVE-2024-35231), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-8c8q-2xw3-j869](https://github.com/advisories/GHSA-8c8q-2xw3-j869), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-35231](https://nvd.nist.gov/vuln/detail/CVE-2024-35231), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35231 · Whole record: https://cve.day/CVE-2024-35231.json · Rebuilt by cve.day 2026-11-25T22:58:40.947Z
