Inefficient Regular Expression Complexity Affecting rubygem-actionpack package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.28% (93rd 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RUBYGEMACTIONPACK-4476259
  • published26 Mar 2023
  • disclosed20 Jan 2023

Introduced: 20 Jan 2023

CVE-2023-22795  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygem-actionpack.

NVD Description

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

A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

CVSS Scores

version 3.1