Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Unspecified Security Vulnerability (CVE-2021-22904)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ruby on Rails: Unspecified Security Vulnerability (CVE-2021-22904)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
06/11/2021
Created
06/25/2021
Added
06/24/2021
Modified
08/20/2021

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.

Solution(s)

  • ruby-on-rails-upgrade-5_2_4_6
  • ruby-on-rails-upgrade-5_2_6
  • ruby-on-rails-upgrade-6_0_3_7
  • ruby-on-rails-upgrade-6_1_3_2

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;