Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-22904

24
FAUCET Score

CVE-2021-22904 is a denial-of-service vulnerability affecting the Action Pack Ruby gem in Ruby on Rails versions prior to 6.1.3.2, 6.0.3.7, 5.2.4.6, and 5.2.6. This flaw stems from an overly permissive regular expression used in the Token Authentication logic, specifically when applications utilize authenticate_or_request_with_http_token or authenticate_with_http_token. With a CVSS score of 7.5 (High), this vulnerability can be exploited remotely with low attack complexity, leading to a complete denial of service without requiring user interaction or privileges. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.2.4.6CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 5.2.5, < 5.2.6CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.3.7CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 6.1.0, < 6.1.3.2CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.5HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
4.81%
Probability of exploitation in next 30 days
EPSS Percentile
91.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0481 is in the 84th percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (8)

redhatpatch availablevia redhat_api
Product: Red Hat Satellite 6.10 for RHEL 7Fixed in: tfm-rubygem-rails-0:6.0.3.7-1.el7sat
View patch
rubygemspatch availablevia ghsa
Product: actionpackFixed in: 6.1.3.2
rubygemspatch availablevia ghsa
Product: actionpackFixed in: 5.2.6
rubygemspatch availablevia ghsa
Product: actionpackFixed in: 5.2.4.6
rubygemspatch availablevia ghsa
Product: actionpackFixed in: 6.0.3.7
redhatno patchvia redhat_api
Product: Red Hat 3scale API Management Platform 2Fixed in: system
redhatend of lifevia redhat_api
Product: CloudForms Management Engine 5Fixed in: cfme-gemset
redhatend of lifevia redhat_api
Product: Red Hat Satellite 6Fixed in: tfm-ror52-rubygem-actionpack

Vendor Advisories (2)

rubygemsGHSA-7wjx-3g7j-8584high

Possible DoS Vulnerability in Action Controller Token Authentication

May 5, 2021
redhatCVE-2021-22904Moderate

rails: Possible DoS Vulnerability in Action Controller Token Authentication

May 5, 2021

References

discuss.rubyonrails.org / t/cve-2021-22904-possible-dos-vulnerability-in-action-controller-token-authentication/77869
ExploitMitigationPatchVendor Advisory
hackerone.com / reports/1101125
Permissions RequiredThird Party Advisory
security.netapp.com / advisory/ntap-20210805-0009
Third Party Advisory