CVE-2021-22902: Actionpack - Denial of Service
- Cve: CVE-2021-22902
- Name: Actionpack - Denial of Service
- Description: The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expression engine.
- Impact: Attackers can cause denial of service by triggering catastrophic backtracking, leading to application unresponsiveness or crash.
- Remediation: Update to version 6.0.3.7, 6.1.3.2 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to send crafted Accept headers
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.02868
- Epss percentile: 0.87139
- Assignee: [email protected]
- Published at: 2021-06-11T16:15:11Z
- Age in days: 1992
- Modified at: 2026-06-17T03:37:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22902
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| NVD-CWE-noinfo | — |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866 | nvd | 2021-06-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866 | nvd | Exploit, Mitigation, Patch, Vendor Advisory |
| https://hackerone.com/reports/1138654 | nvd | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyonrails:rails | >= 6.1.0, < 6.1.0.2; >= 6.0.0, < 6.0.3.7 | no | nvd | /v1/products/rubyonrails/rails |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | fix, releases | yes | /v1/repositories/rails/rails |
Index
- Repositories: 7
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-11
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 2436102
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since