CVE-2021-22904
published 2021-06-11CVE-2021-22904: 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…
high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| actionpack_project | actionpack | >= 4.0.0 < 5.2.4.6 | 5.2.4.6 |
| actionpack_project | actionpack | >= 5.2.5 < 5.2.6 | 5.2.6 |
| actionpack_project | actionpack | >= 6.0.0 < 6.0.3.7 | 6.0.3.7 |
| actionpack_project | actionpack | >= 6.1.0 < 6.1.3.2 | 6.1.3.2 |
| debian | rails | < rails 2:6.0.3.7+dfsg-1 (bookworm) | rails 2:6.0.3.7+dfsg-1 (bookworm) |
| https | github.com_rails_rails | — | — |
| rubyonrails | rails | < 5.2.4.6 | 5.2.4.6 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-1 | 2:6.0.3.7+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-1 | 2:6.0.3.7+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-1 | 2:6.0.3.7+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-1 | 2:6.0.3.7+dfsg-1 |
| rubyonrails | rails | >= 5.2.5 < 5.2.6 | 5.2.6 |
| rubyonrails | rails | >= 6.0.0 < 6.0.3.7 | 6.0.3.7 |
| rubyonrails | rails | >= 6.1.0 < 6.1.3.2 | 6.1.3.2 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH