CVE-2023-22792

HIGHCVSS 7.5/10EPSS 1.70%

Last modified

CVE-2023-22792 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.70% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
1.70%

74.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RubyonrailsRails>= 3.0.0, < 6.0.6.1
RubyonrailsRails>= 6.1.0, < 6.1.7.1
RubyonrailsRails>= 7.0.0, < 7.0.4.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-22792?
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.
How severe is CVE-2023-22792?
CVE-2023-22792 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.70% probability of exploitation in the next 30 days.
How do I fix CVE-2023-22792?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-22792?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST