CVE-2024-35231 rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter
HighCVSS 8.6
EPSS 0.67%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-rack-contrib(Ubuntu 16.04) | = 1.3.0-1build1; = 1.3.0-2; = 1.3.0-3; All versions | No fix listed | No fix yet |
| ubuntu/ruby-rack-contrib(Ubuntu 18.04) | = 1.3.0-3; All versions | No fix listed | No fix yet |
| rack-contrib | <= 2.4; = < 2.5.0 | after 2.4 | Fixed |
| rubygems rack-contrib(RubyGems) | < 2.5.0; = 0.9.0; = 0.9.2; = 1.0.0 +16 more | 2.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems rack-contrib(RubyGems) | < 2.5.0 | 2.5.0 |
| rubygems rack-contrib(RubyGems) | = 0.9.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 0.9.2 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.0.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.0.1 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.1.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.2.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.2.0.39.g17d21b4 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.3.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.4.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.5.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.6.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.7.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 1.8.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.0.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.0.1 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.1.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.2.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.3.0 | No fix listed |
| rubygems rack-contrib(RubyGems) | = 2.4.0 | No fix listed |
| rack-contrib | = < 2.5.0 | No fix listed |
| rack-contrib | <= 2.4 | No fix listed |
| ubuntu/ruby-rack-contrib(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ruby-rack-contrib(Ubuntu:16.04) | = 1.3.0-1build1 | No fix listed |
| ubuntu/ruby-rack-contrib(Ubuntu:16.04) | = 1.3.0-2 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ruby-rack-contrib(Ubuntu:16.04) | = 1.3.0-3 | No fix listed |
| ubuntu/ruby-rack-contrib(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ruby-rack-contrib(Ubuntu:18.04) | = 1.3.0-3 | No fix listed |
References
- https://github.com/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869 issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7 issue-tracking patch
- github.com product
- github.com exploit
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking