cve.bz

CVE-2023-22795 Uncontrolled Resource Consumption

7.5 highEPSS 2.3%Fix available

High (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 6.1.7.1, 7.0.4.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-22795 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-22795?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-22795?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-22795 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-22795

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-22795](https://cve.bz/cve/badge/CVE-2023-22795.svg)](https://cve.bz/cve/CVE-2023-22795)

HTML:

<a href="https://cve.bz/cve/CVE-2023-22795"><img src="https://cve.bz/cve/badge/CVE-2023-22795.svg" alt="CVE-2023-22795"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubyonrails:railsbefore 6.1.7.1
rubyonrails:railsfrom 7.0.0 before 7.0.4.1
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8xww-x3g3-6jcvRubyGemsactionpack>=4.0.0.beta1 <6.1.7.16.1.7.1
GHSA-8xww-x3g3-6jcvRubyGemsactionpack>=7.0.0 <7.0.4.17.0.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11rails2:6.0.3.7+dfsg-2+deb11u1DSA-5372-1
Debian12, 13, 14rails2:6.1.7.3+dfsg-1DEBIAN-CVE-2023-22795
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 morerailsno fix listedUBUNTU-CVE-2023-22795
Red Hatsatellite:6.14::el8foreman, foreman-cli, foreman-ec2 and 11 more0:3.7.0.9-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-actionpack, rubygem-activerecord, rubygem-activesupport0:6.1.7.3-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-git0:1.18.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-globalid0:1.1.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-kubeclient0:4.10.1-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8yggdrasil-worker-forwarder0:0.0.3-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppet-agent0:7.26.0-3.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppetserver0:7.11.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-django, python39-django0:3.2.21-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-future, python39-future0:0.18.3-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-gitpython, python39-gitpython0:3.1.32-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-pulp-ansible, python39-pulp-ansible1:0.16.0-1.el8pcRHSA-2023:6818
5 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Availability Extension 15 SP3 and 1 morerubygem-actionpack-5_15.1.4-150000.3.15.1SUSE-SU-2023:0444-1
SUSEOpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9rubygem-actionpack-4_24.2.9-7.15.1SUSE-SU-2023:0442-1
openSUSELeap 15.4rubygem-actionpack-5_15.1.4-150000.3.15.1SUSE-SU-2023:0444-1
openSUSETumbleweedrubygem-actionpack-7.07.0.4.1-1.1openSUSE-SU-2024:12765-1
openSUSETumbleweedrubygem-actionpack-7.07.0.8.4-1.1openSUSE-SU-2024:14067-1
openSUSETumbleweedrubygem-actionpack-7.07.0.8.6-1.3openSUSE-SU-2025:15110-1
Azure Linux2ruby3.1.4-1AZL-13562

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Satellite 6.14 for RHEL 8rubygem-actionpack-0:6.1.7.3-1.el8satFixed 2023-11-08RHSA-2023:6818
Red Hat 3scale API Management Platform 23scale-amp-zync-containerWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-22795.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON