CVE-2023-22795

HIGH
7.5
CVSS Score
Published: February 9, 2023 at 12:00 AM UTC
Updated: October 24, 2026 at 01:10 PM UTC
2 products affected across 2 vendorsDebian LinuxRails· also runs on 1 platform

Using https://github.com/rails/rails by N/A?

Get instant alerts when new vulnerabilities affect https://github.com/rails/rails - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.7.17.0.0 ≤ v < 7.0.4.16.1.7.17.0.4.1
Affected range stops below 6.1.7.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.4.1, so it looks safe — our inference, not a vendor statement
ruby-lang-ruby (environment)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

95%

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card