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 :
Nov. 21, 2024, 7:45 a.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.
Affected Products
The following products are affected by CVE-2023-22795
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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
.
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118 Added Reference https://security.netapp.com/advisory/ntap-20240202-0010/ Added Reference https://www.debian.org/security/2023/dsa-5372 -
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.
4.28 }} 0.57%
score
0.92200
percentile