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.
References (3)
Core 3
Core References
Permissions Required, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/1101125
Exploit, Mitigation, Patch, Vendor Advisory x_refsource_misc
https://discuss.rubyonrails.org/t/cve-2021-22904-possible-dos-vulnerability-in-action-controller-token-authentication/77869
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210805-0009/
Scores
CVSS v3
7.5
EPSS
0.0334
EPSS Percentile
87.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-400
Status
published
Products (2)
rubygems/actionpack
6.0.0 - 6.0.3.7RubyGems
rubyonrails/rails
< 5.2.4.6
Published
Jun 11, 2021
Tracked Since
Feb 18, 2026