CVE-2024-35231
rack-contrib provides contributed rack middleware and utilities for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7
- github.com/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869
- nvd.nist.gov/vuln/detail/CVE-2024-35231
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-contrib/CVE-2024-35231.yml
- github.com/advisories/GHSA-8c8q-2xw3-j869
- nvd.nist.gov/vuln/detail/CVE-2024-35231
- cve.org/CVERecord?id=CVE-2024-35231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.