BreachSpiderVerified, not vibes

CVE-2023-22795 in Debian Linux and 2 more products

High 7.5

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 pro...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS3.2%
EPSS percentile89th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Rubyonrails Rails < 6.1.7.1 ≥ 7.0.0, < 7.0.4.1

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Ruby-Lang Ruby

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-22795
BreachSpider IDBS-2023-GLOBAL-328904-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2023-02-09
Last modified2026-10-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-400: Uncontrolled Resource Consumption (DoS)

Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.

CWE-1333: CWE-1333

Related attack patterns (CAPEC)

CAPEC-147 XML Ping of the Death via CWE-400

CAPEC-492 Regular Expression Exponential Blowup via CWE-400, CWE-1333

CAPEC-227 Sustained Client Engagement via CWE-400

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

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 can cause the regular expression engine to enter a state of catastrophic backtracking, leading to high CPU and memory usage and potential DoS.

A specially crafted HTTP If-None-Match header can trigger catastrophic backtracking in the regular expression engine used by Action Dispatch, particularly on versions of Ruby below 3.2.0.

Questions

What is CVE-2023-22795?

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 can cause the regular expression engine to enter a state of catastrophic backtracking, leading to high CPU and memory usage and potential DoS.

What is the CVSS score for CVE-2023-22795?

CVE-2023-22795 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 3.2%.

Is CVE-2023-22795 actively exploited?

No confirmed active exploitation of CVE-2023-22795 as of 2026-10-31.

How do I remediate CVE-2023-22795?

Priority: HIGH. Advisory: https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118 PSIRT: [email protected]

What systems are affected by CVE-2023-22795?

CVE-2023-22795 affects Debian Debian Linux; Rubyonrails Rails.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-24.