CVE-2024-47887
published medium CVSS 4.0 · 6.6Action Controller has possible ReDoS vulnerability in HTTP Token authentication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | rails>= 4.0.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 | Affected | Not stated | GitHub_M |
| rubyonrails | — | rails4.0.0 to < 6.1.7.9 · 7.0.0 to < 7.0.8.5 · 7.1.0 to < 7.1.4.1 · 7.2.0 to < 7.2.1.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
| Ubuntu | bionic | rails | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| Debian | bullseye | rails | Advisory build | 2:6.0.3.7+dfsg-2+deb11u3 | DLA-4383-1 |
| Ubuntu | focal | rails | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | jammy | rails | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
Show 74 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | rails | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.32.1 | SUSE-SU-2024:3877-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0aarch64 | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0ppc64le | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0s390x | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0x86_64 | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0s390x | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.6-1.1 | OPENSUSE-SU-2024:14479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| Ubuntu | bionic | ruby-actionmailer | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-actionpack | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-actionview | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-activejob | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-activemodel | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-activerecord | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-activesupport | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-rails | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | bionic | ruby-railties | Advisory build | 2:4.2.10-0ubuntu4+esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-actioncable | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-actionmailer | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-actionpack | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-actionview | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-activejob | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-activemodel | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-activerecord | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-activestorage | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-activesupport | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-rails | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | focal | ruby-railties | Advisory build | 2:5.2.3+dfsg-3ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actioncable | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actionmailbox | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actionmailer | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actionpack | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actiontext | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-actionview | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-activejob | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-activemodel | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-activerecord | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-activestorage | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-activesupport | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-rails | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | jammy | ruby-railties | Advisory build | 2:6.1.4.1+dfsg-8ubuntu2+esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-actionmailer | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-actionpack | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-actionview | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-activejob | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-activemodel | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-activerecord | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-activesupport | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-rails | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
| Ubuntu | xenial | ruby-railties | Advisory build | 2:4.2.6-1ubuntu0.1~esm1 | USN-7290-1 |
Description
Action Pack is a framework for handling and responding to web requests. Starting in version 4.0.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 Action Controller's HTTP Token authentication. For applications using HTTP Token authentication via `authenticate_or_request_with_http_token` or similar, a carefully crafted header may cause header parsing to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade to versions 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 choose to 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails | >= 4.0.0, < 6.1.7.9 (affected)>= 7.0.0, < 7.0.8.5 (affected)>= 7.1.0, < 7.1.4.1 (affected)>= 7.2.0, < 7.2.1.1 (affected) | GitHub_M · cna |
| rubyonrails | rails | 4.0.0 to < 6.1.7.9 (affected · custom)7.0.0 to < 7.0.8.5 (affected · custom)7.1.0 to < 7.1.4.1 (affected · custom)7.2.0 to < 7.2.1.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
5- https://github.com/rails/rails/commit/56b2fc3302836405b496e196a8d5fc0195e55049
- https://github.com/rails/rails/commit/7c1398854d51f9bb193fb79f226647351133d08a
- https://github.com/rails/rails/commit/8e057db25bff1dc7a98e9ae72e0083825b9ac545
- https://github.com/rails/rails/commit/f4dc83d8926509d0958ec21fcdbc2e7df3d32ce2
- https://github.com/rails/rails/security/advisories/GHSA-vfg9-r3fq-jvx4
Provider assertions
2GitHub_M · cna
Action Controller has possible ReDoS vulnerability in HTTP Token authentication
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7efeb299e084ed7c715f44baf6e0e2dce6b80e8af6dc11f747fdeb1230a8a4e7
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record