CVE-2021-22904
Possible DoS Vulnerability in Action Controller Token Authentication
7.5
HIGH
CVSS 3.1
EPSS 3.3%
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.
How to fix CVE-2021-22904
To remediate CVE-2021-22904, upgrade the affected package to a fixed version below.
- —upgrade to 2:6.0.3.7+dfsg-1 or later
- —upgrade to 6.0.3.7 or later
Is CVE-2021-22904 being exploited?
Low — EPSS is 3.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2:6.0.3.7+dfsg-1
- >= 6.0.0, < 6.0.3.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |