CVE-2023-22796
Summary
| CVE | CVE-2023-22796 |
|---|---|
| State | PUBLISHED |
| Assigner | hackerone |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-02-09 20:15:11 UTC |
| Updated | 2026-10-24 13:10:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-400 | CWE-1333 | CWE-400 Denial of Service (CWE-400)
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Activesupport Project | Activesupport | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Https//github.com/rails/rails | affected 6.1.7.1, 7.0.4.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [CVE-2023-22796] Possible ReDoS based DoS vulnerability in Active Support's underscore - Security Announcements - Ruby on Rails Discussions | af854a3a-2127-422b-91ae-364da2661108 | discuss.rubyonrails.org | Patch, Vendor Advisory |
| Debian -- Security Information -- DSA-5372-1 rails | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| CVE-2023-22796 Ruby on Rails Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181676 Debian Security Update for rails (DSA 5372-1)
- 182873 Debian Security Update for rails (CVE-2023-22796)
- 242347 Red Hat Update for Satellite 6.14 (RHSA-2023:6818)
- 284280 Fedora Security Update for rubygem (FEDORA-2023-f60cca0686)
- 502951 Alpine Linux Security Update for ruby-activesupport
- 505820 Alpine Linux Security Update for ruby-activesupport
- 753624 SUSE Enterprise Linux Security Update for rubygem-activesupport-5_1 (SUSE-SU-2023:0275-1)
- 961065 Rocky Linux Security Update for Satellite (RLSA-2023:6818)