CVE-2021-22904
Possible DoS Vulnerability in Action Controller Token Authentication
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 5.2.6
gem install actionpack -v 6.0.3.7
gem install actionpack -v 5.2.4.6
gem install actionpack -v 6.1.3.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| actionpack | rubygems | 5.2.5 | 5.2.6 |
| actionpack | rubygems | 6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+12 more) | 6.0.3.7 |
| actionpack | rubygems | 4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+167 more) | 5.2.4.6 |
| actionpack | rubygems | 6.1.0, 6.1.1, 6.1.2, 6.1.2.1 (+2 more) | 6.1.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22904ADVISORY
- https://hackerone.com/reports/1101125WEB
- https://discuss.rubyonrails.org/t/cve-2021-22904-possible-dos-vulnerability-in-action-controller-token-authentication/77869WEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rails/rails/releases/tag/v5.2.4.6WEB
- https://github.com/rails/rails/releases/tag/v5.2.6WEB
- https://github.com/rails/rails/releases/tag/v6.0.3.7WEB
- https://github.com/rails/rails/releases/tag/v6.1.3.2WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22904.ymlWEB
- https://groups.google.com/g/rubyonrails-security/c/Pf1TjkOBdyQWEB
- https://security.netapp.com/advisory/ntap-20210805-0009WEB
Frequently Asked Questions
- What is CVE-2021-22904?
- Possible DoS Vulnerability in Action Controller Token Authentication This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2021-22904?
- CVE-2021-22904 affects actionpack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-22904 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2016-2098HIGH
actionpack allows remote code execution via application's unrestricted use of render method
- CVE-2020-8164HIGH
Possible Strong Parameters Bypass in ActionPack
- CVE-2015-7581HIGH
actionpack is vulnerable to denial of service because of a wildcard controller route
- CVE-2016-0751HIGH
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
- CVE-2021-22903MEDIUM
Possible Open Redirect Vulnerability in Action Pack
- CVE-2023-22797MEDIUM
Open Redirect Vulnerability in Action Pack
- CVE-2024-26143MEDIUM
Rails has possible XSS Vulnerability in Action Controller
- CVE-2020-8185MEDIUM
Untrusted users can run pending migrations in production in Rails
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies