Resource exhaustion in Rubyonrails Rails
CVE-2021-22902
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.029, 87.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails
- Https://github.com/rails/rails — versions Fixed in 6.0.3.7, 6.1.3.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1138654 (Permissions Required, Third Party Advisory)
- discuss.rubyonrails.org/t/cve-2021-22902-possible-denial-of-service-vulnerabili… (Exploit, Patch, Mitigation, Vendor Advisory)