7.5
HIGH
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.

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.

ID Vendor Product Action
1 Debian debian_linux
1 Rubyonrails rails
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

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 7, 2024, 10:34 a.m. This repo has been linked 9 different CVEs too.

None

Ruby Python Shell

Updated: 5 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 7, 2024, 6:10 a.m. This repo has been linked 9 different CVEs too.

Testing version of ruby-advisory-db repo

Ruby Python Shell

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : July 10, 2023, 9:15 p.m. This repo has been linked 9 different CVEs too.

A database of vulnerable Ruby Gems

rubysec advisory-files yaml security-advisories metadata hacktoberfest

Ruby Shell Python

Updated: 2 months, 2 weeks ago
1008 stars 213 fork 213 watcher
Born at : Feb. 12, 2013, 7:10 a.m. This repo has been linked 9 different CVEs too.

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability