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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-01)
- Published: 2023-01-18T18:23:34.000Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-p84v-45xj-wwqj
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/rails/rails: 6.0.6.1, 6.1.7.1, 7.0.4.1
- actionpack (RubyGems): from 3.0.0 before 5.2.8.15; from 6.0.0 before 6.1.7.1; from 7.0.0 before 7.0.4.1
- rubyonrails rails: from 3.0.0 before 6.0.6.1; from 6.1.0 before 6.1.7.1; from 7.0.0 before 7.0.4.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating Low
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://discuss.rubyonrails.org/t/cve-2023-22792-possible-redos-based-dos-vulnerability-in-action-dispatch/82115> (patch, vendor-advisory, web)
- <https://www.debian.org/security/2023/dsa-5372> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240202-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22792> (advisory)
- <https://github.com/rails/rails> (package)
- <https://github.com/rails/rails/releases/tag/v7.0.4.1> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22792.yml> (web)
- <https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released> (web)
- <https://security.netapp.com/advisory/ntap-20240202-0007> (web)

## Sources

- CVE List: [CVE-2023-22792](https://www.cve.org/CVERecord?id=CVE-2023-22792), CVE Terms of Use, modified 2025-03-24
- GitHub Advisory Database: [GHSA-p84v-45xj-wwqj](https://github.com/advisories/GHSA-p84v-45xj-wwqj), CC-BY-4.0, modified 2025-02-18
- NVD: [CVE-2023-22792](https://nvd.nist.gov/vuln/detail/CVE-2023-22792), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2023-22792 · Whole record: https://cve.day/CVE-2023-22792.json · Rebuilt by cve.day 2026-11-25T22:58:21.905Z
