CVE-2021-22902
Last modified
CVE-2021-22902 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 2.79% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | >= 6.0.0, < 6.0.3.7 |
| Rubyonrails | Rails | >= 6.1.0, < 6.1.0.2 |
References
- https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866Exploit, Mitigation, Patch, Vendor Advisory
- https://hackerone.com/reports/1138654Permissions Required, Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerability-in-action-dispatch/77866Exploit, Mitigation, Patch, Vendor Advisory
- https://hackerone.com/reports/1138654Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22902?
How severe is CVE-2021-22902?
How do I fix CVE-2021-22902?
Are you affected by CVE-2021-22902?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
