CVE-2023-22795
Ruby Action Dispatch Regular Expression DoS in If-None-Match Header
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.
INFO
Published Date :
Feb. 9, 2023, 8:15 p.m.
Last Modified :
Feb. 2, 2024, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-22795 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22795
.
URL | Resource |
---|---|
https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118 | Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20240202-0010/ | |
https://www.debian.org/security/2023/dsa-5372 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Ruby Python Shell
None
Ruby Python Shell
Testing version of ruby-advisory-db repo
Ruby Python Shell
A database of vulnerable Ruby Gems
rubysec advisory-files yaml security-advisories metadata hacktoberfest
Ruby Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22795
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-22795
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 02, 2024
Action Type Old Value New Value Added Reference HackerOne https://security.netapp.com/advisory/ntap-20240202-0010/ [No types assigned] -
Reanalysis by [email protected]
Apr. 27, 2023
Action Type Old Value New Value Changed CPE Configuration AND OR *cpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* versions up to (excluding) 6.1.7.1 *cpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* versions from (including) 7.0.0 up to (excluding) 7.0.4.1 OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.0 AND OR *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions up to (excluding) 6.1.7.1 *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.4.1 OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.0 -
Modified Analysis by [email protected]
Mar. 28, 2023
Action Type Old Value New Value Changed Reference Type https://www.debian.org/security/2023/dsa-5372 No Types Assigned https://www.debian.org/security/2023/dsa-5372 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.0 *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.7.1 *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.4.1 AND OR *cpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* versions up to (excluding) 6.1.7.1 *cpe:2.3:a:actionpack_project:actionpack:*:*:*:*:*:ruby:*:* versions from (including) 7.0.0 up to (excluding) 7.0.4.1 OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.0 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 14, 2023
Action Type Old Value New Value Added Reference https://www.debian.org/security/2023/dsa-5372 [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 17, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118 No Types Assigned https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118 Patch, Vendor Advisory Added CWE NIST CWE-1333 Added CPE Configuration OR *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.0 *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.7.1 *cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.4.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22795
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22795
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
3.70 }} 0.52%
score
0.91910
percentile