Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2023-22795
Ruby vulnerability analysis and mitigation

Overview

A regular expression based Denial of Service (ReDoS) vulnerability exists in Action Dispatch versions prior to 6.1.7.1 and 7.0.4.1, specifically related to the If-None-Match header. This vulnerability was assigned identifier CVE-2023-22795 and was disclosed on January 17, 2023 (Ruby Rails Discussion).

Technical details

The vulnerability occurs when processing the HTTP If-None-Match header. A specially crafted header can trigger catastrophic backtracking in the regular expression engine when running on Ruby versions below 3.2.0. This causes the process to consume excessive CPU and memory resources (Ruby Rails Discussion). The vulnerability has been assigned a CVSS score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Security).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service condition, causing the affected system to become unresponsive due to excessive resource consumption (NetApp Security).

Exploitability

The vulnerability can be exploited by sending specially crafted HTTP If-None-Match headers to an application running on an affected version of Action Dispatch. Systems running on Ruby 3.2.0 or greater are not affected by this vulnerability (Ruby Rails Discussion).

Mitigation and workarounds

Users are recommended to upgrade to fixed versions 6.1.7.1 or 7.0.4.1. For those unable to upgrade immediately, a temporary mitigation involves using a load balancer or other device to filter out malicious If-None-Match headers before they reach the application. Additionally, upgrading to Ruby 3.2.0 or greater will prevent this vulnerability (Ruby Rails Discussion).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50276HIGH7.5
  • Ruby logoRuby
  • datadog
NoYesSep 14, 2026
CVE-2026-70658HIGH7.4
  • Ruby logoRuby
  • pay
NoNoSep 14, 2026
CVE-2026-44163MEDIUM5.3
  • Ruby logoRuby
  • fluent-plugin-opentelemetry
NoYesSep 15, 2026
CVE-2026-44282MEDIUM4.8
  • Ruby logoRuby
  • decidim-elections
NoYesSep 15, 2026
CVE-2026-44162LOW2.7
  • Ruby logoRuby
  • fluent-plugin-s3
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management