CVE-2023-22795
Summary
| CVE | CVE-2023-22795 |
|---|---|
| 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 Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately. |
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 | Rubyonrails | Rails | 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-22795] Possible ReDoS based DoS vulnerability in Action Dispatch - 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 | Third Party Advisory |
| CVE-2023-22795 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)
- 183071 Debian Security Update for rails (CVE-2023-22795)
- 242347 Red Hat Update for Satellite 6.14 (RHSA-2023:6818)
- 284280 Fedora Security Update for rubygem (FEDORA-2023-f60cca0686)
- 753715 SUSE Enterprise Linux Security Update for rubygem-actionpack-5_1 (SUSE-SU-2023:0444-1)
- 905549 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (13560)
- 905550 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (13562)
- 906907 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (13562-1)
- 961065 Rocky Linux Security Update for Satellite (RLSA-2023:6818)