Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-22795

7.5 · HIGH
Published Feb 9, 2023 rubyonrails CWE-400 EPSS 2.28% (82th pctl)

Overview

CVE-2023-22795 is a high-severity vulnerability affecting rubyonrails rails. It was published on February 9, 2023 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from rubyonrails. Update rails to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
rubyonrails rails >= 0, < 6.1.7.1 Affected
ruby-lang ruby >= 0, < 3.2.0 Affected

Frequently Asked Questions

What is CVE-2023-22795?

CVE-2023-22795 is a high-severity vulnerability affecting rubyonrails rails. It was published on February 9, 2023 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2023-22795?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-22795?

Check the references section for vendor advisories and patches from rubyonrails. Update rails to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-22795?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-22795 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.