CVE-2024-41128 json
Action Dispatch has possible ReDoS vulnerability in query parameter filtering
published 2024-10-15 2 y ago modified 2026-06-17 4 mo ago also BIT-rails-2024-41128 , EUVD-2024-3162 , GHSA-x76w-6vjr-8xgj
- cvss
- 6.6
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
Action Pack is a framework for handling and responding to web requests. Starting in version 3.1.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. Carefully crafted query parameters can cause query parameter filtering to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade to version 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. One may use Ruby 3.2 as a workaround. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.
Patch / fix
- rubygems actionpack 6.1.7.9, 7.0.8.5, 7.1.4.1, 7.2.1.1
- bitnami rails 6.1.8, 7.0.9, 7.1.4, 7.2.2
- rails rails 7.0.8.5, 7.1.4.1, 7.2.1.1
- rails Debian 12 2:6.1.7.10+dfsg-1~deb12u1
- rails Debian 14, Debian 13 2:7.2.2.1+dfsg-1
debian advisories DEBIAN-CVE-2024-41128
- rails Ubuntu Pro 16.04 LTS 2:4.2.6-1ubuntu0.1~esm1
- rails Ubuntu Pro 18.04 LTS 2:4.2.10-0ubuntu4+esm1
- rails Ubuntu Pro 20.04 LTS 2:5.2.3+dfsg-3ubuntu0.1~esm1
- rails Ubuntu Pro 22.04 LTS 2:6.1.4.1+dfsg-8ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2024-41128
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rubygem-actionpack-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
- rubygem-rails-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
- rubygem-rails-7.0 openSUSE Tumbleweed 7.0.8.6-1.1
- rubygem-actionpack-7.0 openSUSE Tumbleweed 7.0.8.6-1.1
opensuse advisories openSUSE-SU-2025:15110-1openSUSE-SU-2025:15124-1openSUSE-SU-2024:14479-1openSUSE-SU-2024:14472-1
- github.com/rails/rails@27121e8 commit
- github.com/rails/rails@b0fe99f commit
- github.com/rails/rails@b1241f4 commit
- github.com/rails/rails@fb493be commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-41128 updated cvss 3.7
rubygem-actionpack: Possible ReDoS vulnerability in query parameter filtering in Action Dispatch
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7 Red Hat Satellite 6 rubygem-actionpackaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
| CNA | 4.0 | 6.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=3.1.0, <6.1.7.9 >=7.0.0, <7.0.8.5 >=7.1.0, <7.1.4.1 >=7.2.0, <7.2.1.1 |
6.1.7.9 7.0.8.5 7.1.4.1 7.2.1.1 |
| bitnami | rails | >=3.1.0, <6.1.8 >=7.0.0, <7.0.9 >=7.1.0, <7.1.4 >=7.2.0, <7.2.2 |
6.1.8 7.0.9 7.1.4 7.2.2 |
Affected products
- rails rails
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
- Technology feeds
References
-
github.com
/rails/rails/commit/27121e80f6dbb260f5a9f0452cd8411cb681f075
web
-
github.com
/rails/rails/commit/b0fe99fa854ec8ff4498e75779b458392d1560ef
web
-
github.com
/rails/rails/commit/b1241f468d1b32235f438c2e2203386e6efd3891
web
-
github.com
/rails/rails/commit/fb493bebae1a9b83e494fe7edbf01f6167d606fd
web
-
github.com
/rails/rails/security/advisories/GHSA-x76w-6vjr-8xgj
web, advisory
-
access.redhat.com
/security/cve/cve-2024-41128
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2319036
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-41128
advisory, web
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-41128.yml
web
Sources
- CVE List CVE-2024-41128
- GitHub Advisory GHSA-x76w-6vjr-8xgj
- NVD CVE-2024-41128
- OSV BIT-rails-2024-41128
- Maintainer advisory GHSA-x76w-6vjr-8xgj
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.