CVE-2021-22904
publishedrails: Possible DoS Vulnerability in Action Controller Token Authentication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/railsFixed in 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 | Affected | Not stated | hackerone |
| Debian | buster | rails | Advisory build | 2:5.2.2.1+dfsg-1+deb10u3 | DSA-4929-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| Debian | stretch | rails | Advisory build | 2:4.2.7.1-1+deb9u5 | DLA-2655-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
Show 87 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-doc-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-activesupport-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-doc-5_1s390x | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-activesupport-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2aarch64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2ppc64le | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2s390x | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2x86_64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0ppc64le | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0s390x | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0x86_64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2aarch64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2ppc64le | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2s390x | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2x86_64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-6.0ppc64le | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-6.0s390x | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-6.0x86_64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0ppc64le | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0s390x | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-actionpack-6.0x86_64 | Advisory build | 6.0.4.4-1.1 | OPENSUSE-SU-2024:11821-1 |
Description
The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive regular expression. Impacted code uses `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/rails/rails | Fixed in 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 (affected) | hackerone · cna |
Weaknesses
1- CWE-400 Denial of Service (CWE-400)
References
3Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 250509d739d208a557dba4cc0471ed5882ff3ced9b4d400d5bdb2ccca02816ef
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record