CVE-2023-22792Uncontrolled Resource Consumption in Rails

Severity
7.5HIGHNVD
EPSS
2.6%
top 14.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 9

Description

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header 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 All users running an affected release should either upgrade or use one of the workarounds immediately.

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

RubyGemsactionpack_project/actionpack3.0.05.2.8.15+2
NVDrubyonrails/rails3.0.06.0.6.1+2
Debianrubyonrails/rails< 2:6.0.3.7+dfsg-2+deb11u1+3
CVEListV5https/github.com_rails_rails6.0.6.1, 6.1.7.1, 7.0.4.1

Patches

🔴Vulnerability Details

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

📋Vendor Advisories

2
Red Hat
rubygem-actionpack: Denial of Service in Action Dispatch2023-01-20
Debian
CVE-2023-22792: rails - A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7...2023
CVE-2023-22792 — Uncontrolled Resource Consumption | cvebase