Low severityNVD Advisory· Published Feb 9, 2023· Updated Nov 27, 2024
CVE-2023-22796
CVE-2023-22796
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
activesupportRubyGems | < 6.1.7.1 | 6.1.7.1 |
activesupportRubyGems | >= 7.0.0, < 7.0.4.1 | 7.0.4.1 |
Affected products
10- Active Support/Active Supportdescription
- ghsa-coords9 versionspkg:gem/activesupportpkg:rpm/opensuse/rubygem-activesupport-5_1&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/rubygem-activesupport-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/suse/rubygem-activesupport-4_2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/rubygem-activesupport-4_2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP2pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP3pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP4
< 6.1.7.1+ 8 more
- (no CPE)range: < 6.1.7.1
- (no CPE)range: < 5.1.4-150000.3.12.1
- (no CPE)range: < 7.0.4.1-1.1
- (no CPE)range: < 4.2.9-7.15.1
- (no CPE)range: < 4.2.9-7.15.1
- (no CPE)range: < 5.1.4-150000.3.12.1
- (no CPE)range: < 5.1.4-150000.3.12.1
- (no CPE)range: < 5.1.4-150000.3.12.1
- (no CPE)range: < 5.1.4-150000.3.12.1
Patches
Vulnerability mechanics
References
11- github.com/advisories/GHSA-j6gc-792m-qgm2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-22796ghsaADVISORY
- www.debian.org/security/2023/dsa-5372mitrevendor-advisory
- discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116ghsaWEB
- github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8ghsaWEB
- github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946efghsaWEB
- github.com/rails/rails/releases/tag/v6.1.7.1ghsaWEB
- github.com/rails/rails/releases/tag/v7.0.4.1ghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-22796.ymlghsaWEB
- rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-releasedghsaWEB
- security.netapp.com/advisory/ntap-20240202-0009/mitre
News mentions
0No linked articles in our index yet.