Skip to content
OpenAdvisories
Low CVE-2023-22796 EUVD-2023-0491GHSA-j6gc-792m-qgm2

ReDoS based DoS vulnerability in Active Support's underscore

Published Feb 9, 2023 · Updated Nov 27, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/rails 6.1.7.1, 7.0.4.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:6.1.7.3+dfsg-1 —
Debian 13 rails 2:6.1.7.3+dfsg-1 —
Debian 12 rails 2:6.1.7.3+dfsg-1 —
Debian 11 rails 2:6.0.3.7+dfsg-2+deb11u1 DSA-5372-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 foreman +1 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 foreman +13 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818
Red Hat Satellite 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 rubygem-actionpack +2 6.1.7.3-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-git 1.18.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-globalid 1.1.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-kubeclient 4.10.1-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.0.3-1.el8sat RHSA-2023:6818
ReleasePackageFixed inAdvisory
SLES 15 SP4 rubygem-activesupport-5_1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1
SLES 15 SP3 rubygem-activesupport-5_1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1
SLES 15 SP2 rubygem-activesupport-5_1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1
SLES 15 SP1 rubygem-activesupport-5_1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 9 rubygem-activesupport-4_2 4.2.9-7.15.1 SUSE-SU-2023:0612-1
SUSE OpenStack Cloud Crowbar 8 rubygem-activesupport-4_2 4.2.9-7.15.1 SUSE-SU-2023:0612-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-activesupport-7.0 7.0.4.1-1.1 openSUSE-SU-2025:15114-1, openSUSE-SU-2024:14071-1, openSUSE-SU-2024:12767-1
openSUSE Leap 15.4 rubygem-activesupport-5_1 5.1.4-150000.3.12.1 SUSE-SU-2023:0275-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.23 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.22 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.21 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.20 ruby-activesupport 7.0.4.3-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.18 ruby-activesupport 7.0.4.3-r0 —
Alpine v3.17 ruby-activesupport 7.0.4.3-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activesupport < 6.1.7.1 6.1.7.1 GHSA-j6gc-792m-qgm2
RubyGems activesupport >= 7.0.0, < 7.0.4.1 7.0.4.1 GHSA-j6gc-792m-qgm2

Advisories 9

References