What’s Vulnerable › Vulnerabilities

CVE-2023-22792: ReDoS based DoS vulnerability in Action Dispatch

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.

Affected products

How to fix

Upgrade to a fixed version: Ruby on Rails 6.0.6.1, 6.1.7.1, 7.0.4.1; Rubygems Actionpack 5.2.8.15, 6.1.7.1, 7.0.4.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-22792 or the next vulnerability affects your stack