CVE-2021-22904
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductRails
PublishedJun 11, 2021
First seenJun 11, 2021
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- rubyonrails rails5.2.4.6, 5.2.6, 6.0.3.7, 6.1.3.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails rails | v < 5.2.4.6, 5.2.5 ≤ v < 5.2.6, 6.0.0 ≤ v < 6.0.3.7, 6.1.0 ≤ v < 6.1.3.2 | 5.2.4.6, 5.2.6, 6.0.3.7, 6.1.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.