Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-22796

rubygem-activesupport: Regular Expression Denial of Service

Overview

Published
9 Feb 2023
Modified
24 Oct 2026
High CVE
1 Registry packages
8 OS packages
6 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400, CWE-1333

Affected packages · 1

Packages affected by CVE-2023-22796
EcosystemPackageVulnerableFixed in
RubyGems activesupport <6.1.7.1>=7.0.0, <7.0.4.1 6.1.7.17.0.4.1~> 5.2.8~> 6.1.7, >= 6.1.7.1

Open a package to see all its vulnerabilities.

Operating systems · 14 fixes

Red Hat 1 release · 1 package

affected 1
rubygem-activesupport
Red Hat fixes for CVE-2023-22796
ReleasePackageFixed in
7 rubygem-activesupport affected

SUSE Linux Enterprise 1 release · 1 package

fixed 1
ruby2-5-rubygem-activesupport-5-1
SUSE Linux Enterprise fixes for CVE-2023-22796
ReleasePackageFixed inAdvisory
15.4 ruby2-5-rubygem-activesupport-5-1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1

alpine 4 releases · 1 package

fixed 4
ruby-activesupport
alpine fixes for CVE-2023-22796
ReleasePackageFixed in
3.22 ruby-activesupport 7.0.4.3-r0
3.23 ruby-activesupport 7.0.4.3-r0
3.24 ruby-activesupport 7.0.4.3-r0
edge ruby-activesupport 7.0.4.3-r0

debian 4 releases · 1 package

fixed 4
rails
debian fixes for CVE-2023-22796
ReleasePackageFixed in
11 rails 2:6.0.3.7+dfsg-2+deb11u1
12 rails 2:6.1.7.3+dfsg-1
13 rails 2:6.1.7.3+dfsg-1
14 rails 2:6.1.7.3+dfsg-1

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2023-22796
ReleasePackageFixed in
rails 2:6.1.7.3+dfsg-1

openSUSE 1 release · 3 packages

fixed 3
ruby3-1-rubygem-activesupport-7-0 ruby3-3-rubygem-activesupport-7-0 ruby3-4-rubygem-activesupport-7-0
openSUSE fixes for CVE-2023-22796
ReleasePackageFixed inAdvisory
Tumbleweed ruby3-1-rubygem-activesupport-7-0 +1 7.0.4.1-1.1 openSUSE-SU-2024:12767-1
Tumbleweed ruby3-3-rubygem-activesupport-7-0 7.0.8.4-1.1 openSUSE-SU-2024:14071-1
Tumbleweed ruby3-4-rubygem-activesupport-7-0 7.0.8.6-1.3 openSUSE-SU-2025:15114-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.