CVE-2024-25126
Rack ReDos Denial of Service Vulnerability
Description
Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.
INFO
Published Date :
Feb. 29, 2024, 12:15 a.m.
Last Modified :
Feb. 14, 2025, 3:51 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2024-25126
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-25126
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-25126
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-25126
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-1333 Added CPE Configuration OR *cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* versions from (including) 0.4 up to (excluding) 2.2.8.1 *cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* versions from (including) 3.0.0 up to (excluding) 3.0.9.1 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Changed Reference Type https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 No Types Assigned https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 Exploit, Vendor Advisory Changed Reference Type https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 No Types Assigned https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 Exploit, Vendor Advisory Changed Reference Type https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 No Types Assigned https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 Patch Changed Reference Type https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 No Types Assigned https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 Patch Changed Reference Type https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 No Types Assigned https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 Patch Changed Reference Type https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 No Types Assigned https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 Patch Changed Reference Type https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx No Types Assigned https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx Exploit, Vendor Advisory Changed Reference Type https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx No Types Assigned https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx Exploit, Vendor Advisory Changed Reference Type https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml No Types Assigned https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml Exploit, Third Party Advisory Changed Reference Type https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml No Types Assigned https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml Exploit, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html Mailing List Changed Reference Type https://security.netapp.com/advisory/ntap-20240510-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20240510-0005/ Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20240510-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20240510-0005/ Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 Added Reference https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 Added Reference https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 Added Reference https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx Added Reference https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml Added Reference https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html Added Reference https://security.netapp.com/advisory/ntap-20240510-0005/ -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://security.netapp.com/advisory/ntap-20240510-0005/ [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 29, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html [No types assigned] -
CVE Received by [email protected]
Feb. 29, 2024
Action Type Old Value New Value Added Description Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1. Added Reference GitHub, Inc. https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx [No types assigned] Added Reference GitHub, Inc. https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 [No types assigned] Added Reference GitHub, Inc. https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 [No types assigned] Added Reference GitHub, Inc. https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 [No types assigned] Added Reference GitHub, Inc. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml [No types assigned] Added CWE GitHub, Inc. CWE-1333 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-25126
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-25126
weaknesses.