Live threats

All CVEs / Rubyonrails

CVE-2023-22795Rubyonrails Rails

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Feb 9, 2023
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 4.0.0.beta1 < 6.1.7.1 6.1.7.1 gem "actionpack", ">= 6.1.7.1"
RubyGems actionpack ≥ 7.0.0 < 7.0.4.1 7.0.4.1 gem "actionpack", ">= 7.0.4.1"

Per OSV / GitHub Advisories (GHSA-8xww-x3g3-6jcv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails< 6.1.7.1
rubyonrailsrails≥ 7.0.0 < 7.0.4.1
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

On social media

1 person and 1 post on Bluesky in the last 30 days.

Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky

Official sources

References

Links published by the sources. Open them with care.