BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-22792 in Rubyonrails Rails

High 7.5

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large a...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.9%
EPSS percentile80th
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
Rubyonrails Rails ≥ 3.0.0, < 6.0.6.1 ≥ 6.1.0, < 6.1.7.1 ≥ 7.0.0, < 7.0.4.1

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.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. 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-22792
BreachSpider IDBS-2023-GLOBAL-061956-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 versions prior to 6.0.6.1, 6.1.7.1, and 7.0.4.1 can be exploited through specially crafted cookies and X_FORWARDED_HOST headers, leading to high CPU and memory usage.

The vulnerability arises from the use of a regular expression that can enter a state of catastrophic backtracking when processing specially crafted cookies in conjunction with a specially crafted X_FORWARDED_HOST header. This can cause the application to consume excessive CPU and memory resources, potentially leading to a denial of service.

Questions

What is CVE-2023-22792?

A regular expression based DoS vulnerability in Action Dispatch versions prior to 6.0.6.1, 6.1.7.1, and 7.0.4.1 can be exploited through specially crafted cookies and X_FORWARDED_HOST headers, leading to high CPU and memory usage.

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

CVE-2023-22792 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: 1.9%.

Is CVE-2023-22792 actively exploited?

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

How do I remediate CVE-2023-22792?

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

What systems are affected by CVE-2023-22792?

CVE-2023-22792 affects 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":"Rubyonrails","product":"Rails","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.