Live threats

All CVEs / Activesupport Project

CVE-2023-22796Activesupport Project Activesupport

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Feb 9, 2023
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Activesupport.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activesupport < 6.1.7.1 6.1.7.1 gem "activesupport", ">= 6.1.7.1"
RubyGems activesupport ≥ 7.0.0 < 7.0.4.1 7.0.4.1 gem "activesupport", ">= 7.0.4.1"

Per OSV / GitHub Advisories (GHSA-j6gc-792m-qgm2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
activesupport_projectactivesupport< 6.1.7.1
activesupport_projectactivesupport≥ 7.0.0 < 7.0.4.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.