# CVE-2021-22904: Possible DoS Vulnerability in Action Controller Token Authentication

Source: https://junglewise.ai/threats/cve-2021-22904-possible-dos-vulnerability-in-action-controller-token  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-05-05  
License: CC BY 4.0 with a link back

CVE-2021-22904 · Severity: low · CVSS 3.1 · Published 2021-05-05

Possible DoS Vulnerability in Action Controller Token Authentication

Technologies: [actionpack (RubyGems)](https://junglewise.ai/threats/technologies/actionpack). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2021-22904 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-22904 being exploited in the wild.

**How severe is CVE-2021-22904?** Low severity, with a CVSS score of 3.1, published 5 May 2021.

**Which products and versions are affected?** actionpack (RubyGems) ECOSYSTEM:introduced=6.0.0,fixed=6.0.3.7.

**Is there a fix for CVE-2021-22904?** Yes. actionpack (RubyGems): upgrade to 6.0.3.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-22904?** Check whether you run actionpack (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actionpack (RubyGems): upgrade to 6.0.3.7 or later

  ```sh
  bundle update actionpack
  ```


## Affected products

- actionpack (RubyGems) ECOSYSTEM:introduced=6.0.0,fixed=6.0.3.7

## Identifiers

- CVE-2021-22904
- GHSA-7wjx-3g7j-8584

## Related threats

- [Rails Action Pack remote IP spoofing in request handling](https://junglewise.ai/threats/cve-2026-126083-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack mass assignment bypass in Parameters#each_key](https://junglewise.ai/threats/cve-2026-126081-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack session cookie exposure in cached responses](https://junglewise.ai/threats/cve-2026-126077-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Ruby on Rails Action Pack session restoration after logout](https://junglewise.ai/threats/cve-2026-126076-action-pack-is-a-framework-for-handling-and-responding-to-web)
- [Rails Action Pack cache poisoning via content-type negotiation](https://junglewise.ai/threats/cve-2026-126073-action-pack-is-a-framework-for-handling-and-responding-to-web)
