
CVE catalog
CVE-2023-22795
rails: CVE-2023-22795
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.28% · Oct 25, 2026
A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rails | sid | 2:7.2.4+dfsg-2 | fixed |
| Debian | rails | forky | 2:7.2.4+dfsg-1 | fixed |
| Debian | rails | trixie | 2:7.2.2.2+dfsg-2~deb13u1 | fixed |
| Debian | rails | trixie-security | 2:7.2.2.2+dfsg-2~deb13u2 | fixed |
| Debian | rails | bookworm | 2:6.1.7.10+dfsg-1~deb12u2 | fixed |
| Debian | rails | bookworm-security | 2:6.1.7.10+dfsg-1~deb12u3 | fixed |
| Cpe | rails | Not reported | 7.0.4.1 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rails | source | sid | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | forky | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | trixie | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | bookworm | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Cpe | rails | cpe | Not reported | 7.0.4.1 | Not reported | NVD-CVE-2023-22795 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_0442-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2023-22795]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-22795]
- [https://security-tracker.debian.org/tracker/CVE-2023-22795]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22795.json]
- [https://security.netapp.com/advisory/ntap-20240202-0010/]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2101.json]
- [https://www.debian.org/security/2023/dsa-5372]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]