{"schemaVersion":3,"id":"CVE-2024-35231","aliases":["UBUNTU-CVE-2024-35231","GHSA-8c8q-2xw3-j869"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-05-27T16:40:08.678Z","modified":"2024-08-02T03:07:46.936Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00668,"percentile":0.51027,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00668},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00668,"percentile":0.51027}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00668,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00668,"percentile":0.51027}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"ubuntu","product":"ruby-rack-contrib","name":"ruby-rack-contrib","label":"ruby-rack-contrib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-rack-contrib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"rack-contrib","name":"rack-contrib","label":"rack-contrib","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/rack-contrib","purlType":"gem","versions":[{"text":"< 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.0","eol":null,"hubHref":null},{"vendor":"rack","product":"rack-contrib","name":"rack-contrib","label":"rack-contrib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.0","eol":null,"hubHref":"/vendor/rack/rack-contrib"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869","label":"github.com/rack/rack-contrib/security/advisories/GHSA-8c8q-2xw3-j869","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"https://github.com/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7","label":"github.com/rack/rack-contrib/commit/0eec2a9836329051c6742549e65a94a4c24fe6f7","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-35231","label":"ubuntu.com/security/CVE-2024-35231","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-35231","label":"www.cve.org/CVERecord?id=CVE-2024-35231","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35231","label":"nvd.nist.gov/vuln/detail/CVE-2024-35231","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rack/rack-contrib","label":"github.com/rack/rack-contrib","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-contrib/CVE-2024-35231.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-contrib/CVE-2024-35231.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-05-27T16:40:08.678Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T03:07:46.936Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:18:16.990Z","stale":false,"partial":false}}