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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.5% (80th 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-RUBYGEMACTIVESUPPORT-4478554
  • published26 Mar 2023
  • disclosed20 Jan 2023

Introduced: 20 Jan 2023

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

How to fix?

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

NVD Description

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

A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability.

CVSS Base Scores

version 3.1