CVE-2023-22795Uncontrolled Resource Consumption in Rails

Severity
7.5HIGHNVD
EPSS
1.5%
top 18.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 9
Latest updateFeb 14

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 immediat

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages4 packages

NVDrubyonrails/rails7.0.07.0.4.1+1
RubyGemsactionpack_project/actionpack4.0.0.beta16.1.7.1+1
Debianrubyonrails/rails< 2:6.0.3.7+dfsg-2+deb11u1+3
CVEListV5https/github.com_rails_rails6.1.7.1, 7.0.4.1

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

4
CVEList
CVE-2023-22795: A regular expression based DoS vulnerability in Action Dispatch <62023-02-09
OSV
CVE-2023-22795: A regular expression based DoS vulnerability in Action Dispatch <62023-02-09
GHSA
ReDoS based DoS vulnerability in Action Dispatch2023-01-18
OSV
ReDoS based DoS vulnerability in Action Dispatch2023-01-18

📋Vendor Advisories

3
Microsoft
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 expressio2023-02-14
Red Hat
rubygem-actionpack: Denial of Service in Action Dispatch2023-01-20
Debian
CVE-2023-22795: rails - A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7....2023
CVE-2023-22795 — Uncontrolled Resource Consumption | cvebase