CVE-2023-22795

high
Published 2023-01-18 · Modified 2025-03-31
CVSS v3
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-22795

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-22795.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:6818

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed2:6.1.7.3+dfsg-1
debian debianbullseyefixed2:6.0.3.7+dfsg-2+deb11u1
debian debianforkyfixed2:6.1.7.3+dfsg-1
debian debiansidfixed2:6.1.7.3+dfsg-1
debian debiantrixiefixed2:6.1.7.3+dfsg-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsactionpack<~> 5.2.8~> 5.2.8
ruby RubyGemsactionpack>=4.0.0.beta1,<6.1.7.16.1.7.1
ruby RubyGemsactionpack>=7.0.0,<7.0.4.17.0.4.1

References

Verify integrity in audit chain (admin only). AS-IS.