Vulnerability Description
The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive regular expression. Impacted code uses `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | < 5.2.4.6 |
Related Weaknesses (CWE)
References
- https://discuss.rubyonrails.org/t/cve-2021-22904-possible-dos-vulnerability-in-aExploitMitigationPatch
- https://hackerone.com/reports/1101125Permissions RequiredThird Party Advisory
- https://security.netapp.com/advisory/ntap-20210805-0009/Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2021-22904-possible-dos-vulnerability-in-aExploitMitigationPatch
- https://hackerone.com/reports/1101125Permissions RequiredThird Party Advisory
- https://security.netapp.com/advisory/ntap-20210805-0009/Third Party Advisory
FAQ
What is CVE-2021-22904?
CVE-2021-22904 is a vulnerability with a CVSS score of 7.5 (HIGH). The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive r...
How severe is CVE-2021-22904?
CVE-2021-22904 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-22904?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails.