Resource Exhaustion Affecting tfm-rubygem-rails package, versions <0:6.0.3.7-1.el7sat


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-TFMRUBYGEMRAILS-4512402
  • published26 Mar 2023
  • disclosed5 May 2021

Introduced: 5 May 2021

CVE-2021-22904  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:7 tfm-rubygem-rails to version 0:6.0.3.7-1.el7sat or higher.
This issue was patched in RHSA-2021:4702.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tfm-rubygem-rails package and not the tfm-rubygem-rails package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1