THREATPORT/VULNERABILITY/CVE-2021-22904
HIGH SEVERITY

CVE-2021-22904

Rails vulnerability

CVSS
7.5
EPSS
4.8%
EPSS pct
91th
Exploited
No known
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 vendor
Rubyonrails
Affected product
Rails
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness type (CWE)
  • CWE-400 — Uncontrolled Resource Consumption
Published
2021-06-11

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to availability.

Its EPSS score of 4.8% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 91% of all scored CVEs.

Check your external exposure to CVE-2021-22904

  • Confirm whether Rubyonrails Rails is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-22904.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-22904

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-22904 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-22904?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-22904.

Start free scan

No credit card. Agentless.