Live threats

All CVEs / Rubyonrails

CVE-2023-22792Rubyonrails Rails

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Feb 9, 2023
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 3.0.0 < 5.2.8.15 5.2.8.15 gem "actionpack", ">= 5.2.8.15"
RubyGems actionpack ≥ 6.0.0 < 6.1.7.1 6.1.7.1 gem "actionpack", ">= 6.1.7.1"
RubyGems actionpack ≥ 7.0.0 < 7.0.4.1 7.0.4.1 gem "actionpack", ">= 7.0.4.1"

Per OSV / GitHub Advisories (GHSA-p84v-45xj-wwqj). Check the version in your lockfile before upgrading.

Affected products (CPE)

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

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.