CVE-2023-22792
Executive Summary
CVE‑2023‑22792 exposes Action Dispatch versions <6.0.6.1, <6.1.7.1, and <7.0.4.1 to a regular‑expression‑based denial‑of‑service. Maliciously crafted cookies combined with a forged X_FORWARDED_HOST header trigger catastrophic backtracking in the regex engine, consuming excessive CPU and memory and potentially crashing the process. Affected users must upgrade or apply the documented workaround immediately.
Authoritative CVE Metadata
- CVSS Base Score: 7.5 (HIGH)
- Last Modified: 24-10-26
Original 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.