CVE-2023-22792Rubyonrails Rails
High 7.5 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | ≥ 3.0.0 < 6.0.6.1 |
| rubyonrails | rails | ≥ 6.1.0 < 6.1.7.1 |
| rubyonrails | rails | ≥ 7.0.0 < 7.0.4.1 |
Official advisories
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- discuss.rubyonrails.org Patch Vendor Advisory
- security.netapp.com
- www.debian.org