CVE-2023-22792
ReDoS based DoS vulnerability in Action Dispatch
Also known as GHSA-p84v-45xj-wwqj
Mitigation
- Upgrade actionpack to one of 5.2.8.15, 6.1.7.1, 7.0.4.1 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package actionpack (>= 3.0.0, < 5.2.8.15)
- Anyone running https://github.com/rails/rails 6.0.6.1, 6.1.7.1, 7.0.4.1
Vulnerability facts
- Affected
- actionpack >= 3.0.0, < 5.2.8.15
- Fixed in
- 5.2.8.15, 6.1.7.1, 7.0.4.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.86% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-400
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems actionpack | >= 3.0.0, < 5.2.8.15 | 5.2.8.15, 6.1.7.1, 7.0.4.1 | osv |
| https://github.com/rails/rails | 6.0.6.1, 6.1.7.1, 7.0.4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-22792. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-22792.md Affected: actionpack >= 3.0.0, < 5.2.8.15 Fixed in: 5.2.8.15, 6.1.7.1, 7.0.4.1 Steps: 1. Search this machine and project for actionpack (RubyGems), https://github.com/rails/rails: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://security.netapp.com/advisory/ntap-20240202-0007/
- https://github.com/rails/rails
- https://github.com/rails/rails/releases/tag/v7.0.4.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22792.yml
- https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released
- https://security.netapp.com/advisory/ntap-20240202-0007
FAQ
Is CVE-2023-22792 being exploited?
There is no confirmed exploitation: CVE-2023-22792 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-22792?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-22792?
actionpack >= 3.0.0, < 5.2.8.15.
Is there a fix for CVE-2023-22792?
Yes. Fixed in 5.2.8.15, 6.1.7.1, 7.0.4.1. Upgrade actionpack to one of 5.2.8.15, 6.1.7.1, 7.0.4.1 (or later in the same release line).
How do I check if I'm affected by CVE-2023-22792?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.