Possible DoS Vulnerability in Action Controller Token Authentication
https://github.com/rails/rails
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| actionpack RubyGems |
|
|
https://github.com/rails/rails
| Product | Affected | Fixed in |
|---|---|---|
| actionpack RubyGems |
|
|
The actionpack gem has a too-permissive regular expression in Action Controller’s Token Authentication logic. An attacker may cause a denial of service in applications that use `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication. The input does not specify whether authentication or user interaction is required.
Teams running applications with RubyGems actionpack versions >=6.0.0 <6.0.3.7, >=6.1.0 <6.1.3.2, >=5.2.5 <5.2.6, or >=4.0.0 <5.2.4.6 should check their deployments.
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.
From the CVE record · hackerone