Skip to content

← Public intelligence

RubyGems package

rack-contrib

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.6RubyGemsPublished

    rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter

    CVE-2024-35231 · GHSA-8c8q-2xw3-j869

    Affected
    • RubyGems rack-contrib < 2.5.0
    Fixed in
    2.5.0· Vendor fix available
    Issue
    The next ruby code is vulnerable to denial of service due to the fact that the user controlled data profilerruns was not contrained to any limitation. Which would lead to allocating resources on the server side with no limitation (CWE-770). An exploit as such curl --fail "http://127.0.0.1:9292/?profilerruns=9999999999&profile=processtime" may cause resource exhaution by a remotely controlled value. PoC Herein the config.ru file: A Dockerfile: A Gemfile A Docker compose To run the PoC To exploit DoS: Impact - Potential denial of service by remotely user-controlled data.

    Recommended action: Upgrade to 2.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →