Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-22792: A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1

50
This month
HIGH 7.5REMOTEUPGRADE

CVE-2023-22792 is a high-severity flaw (CVSS 7.5) affecting rails. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.7% (top 23%)
CISA exploited listNo
WeaknessCWE-400, CWE-1333
Published2023-02-09
Last modified2026-10-24
Publisher (CNA): HackerOne · Vendor: rubyonrails

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

rubyonrails rails UPGRADE
Affected: >= 3.0.0 and < 6.0.6.1 · >= 6.1.0 and < 6.1.7.1 · >= 7.0.0 and < 7.0.4.1
Fixed in: 6.0.6.1, 6.1.7.1, 7.0.4.1
Safe to downgrade to: a release before 3.0.0
1. Check installed version
apt-cache policy rails || rpm -q rails || rails --version
2. UPGRADE to 6.0.6.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rails
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rails
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 3.0.0 (Debian / Ubuntu)
apt-cache madison rails sudo apt install rails=<VERSION_BEFORE_3.0.0> sudo apt-mark hold rails
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list rails sudo dnf downgrade rails-<VERSION_BEFORE_3.0.0> sudo dnf versionlock add rails
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

RubyGems · actionpack · FIXED · 5.2.8.15 · vulnerable: >= 3.0.0, < 5.2.8.15 · source
bundle update actionpack bundle list | grep actionpack
Fedora 46 · gnome-shell-extension-tiling-assistant · FIXED · 56-1.fc46 · FEDORA-2026-ebf66a5321 · source
sudo dnf upgrade --advisory=FEDORA-2026-ebf66a5321
Debian 12 · rails · FIXED · 2:6.1.7.3+dfsg-1
sudo apt update && sudo apt install --only-upgrade rails dpkg --compare-versions "$(dpkg-query -W -f='${Version}' rails)" ge "2:6.1.7.3+dfsg-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · rails · FIXED · 2:6.1.7.3+dfsg-1
sudo apt update && sudo apt install --only-upgrade rails dpkg --compare-versions "$(dpkg-query -W -f='${Version}' rails)" ge "2:6.1.7.3+dfsg-1" && echo PATCHED || echo STILL-VULNERABLE
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-22792?

rails: upgrade to 6.0.6.1, 6.1.7.1, 7.0.4.1. Exact commands for each OS are on this page.

Is CVE-2023-22792 being exploited?

CVE-2023-22792 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-22792 affect?

CVE-2023-22792 affects rails. Severity is high (CVSS 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

How urgent is CVE-2023-22792?

Priority 50/100. High severity; Remotely exploitable, no login, no user action

Software pages

Ruby on Rails vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.