CVE-2021-22904

Summary

CVECVE-2021-22904
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-06-11 16:15:00 UTC
Updated2021-09-20 13:51:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Rubyonrails Rails All All All All

References

ReferenceSourceLinkTags
[CVE-2021-22904] Possible DoS Vulnerability in Action Controller Token Authentication - Security Announcements - Ruby on Rails Discussions MISC discuss.rubyonrails.org
June 2021 Ruby Vulnerabilities in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
HackerOne MISC hackerone.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178588 Debian Security Update for rails (DLA 2655-1)
  • 178665 Debian Security Update for rails (DSA 4929-1)
  • 180267 Debian Security Update for rails (CVE-2021-22904)
  • 239895 Red Hat Update for Satellite 6.10 (RHSA-2021:4702)
  • 690146 Free Berkeley Software Distribution (FreeBSD) Security Update for rails (f7a00ad7-ae75-11eb-8113-08002728f74c)
  • 753313 SUSE Enterprise Linux Security Update for rubygem-actionpack-5_1, rubygem-activesupport-5_1 (SUSE-SU-2022:2108-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report