CVE-2023-22795
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-02-09
- Last modified
- 2026-10-24
- Assigned by
- support@hackerone.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
2.3 %
higher than 81 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 11.0 | Affected |
| Ruby-lang | Ruby | < 3.2.0 | Not affected |
| Rubyonrails | Rails | < 6.1.7.1 | Affected |
| Rubyonrails | Rails | ≥ 7.0.0, < 7.0.4.1 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
-
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1499: Endpoint Denial of Service
References
- https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-i…
- https://www.debian.org/security/2023/dsa-5372
- https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-i…
- https://www.debian.org/security/2023/dsa-5372
- https://security.netapp.com/advisory/ntap-20240202-0010/
- https://security.netapp.com/advisory/ntap-20240202-0010/
Related at Berigo
Articles
-
Five remote hires turned out to be probable North Korean workers
Same product
2026-08-27
During 2026 Huntress supported investigations in which five remote employees were assessed as likely North Korean workers. The roles covered IT, sale…
-
A fake secret makes the attacker's AI agent shut itself down
Same product
2026-08-19
In July 2026 Tracebit presented experiments where text planted in a decoy secret triggers the guardrails of attacking AI agents. The share of runs re…
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
-
Critical flaw in Rails Active Storage let uploaded files read secrets
Same product
2026-08-03
Ruby on Rails fixed a critical vulnerability in Active Storage on 29 July 2026. An attacker without login could upload a crafted file and have files …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.