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 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | Fixed in 6.0.3.7, 6.1.3.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
- Jun 11, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified