CVE-2023-22795Rubyonrails Rails
High 7.5 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | < 6.1.7.1 |
| rubyonrails | rails | ≥ 7.0.0 < 7.0.4.1 |
| debian | debian_linux | 11.0 |
Official advisories
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
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.
- discuss.rubyonrails.org Patch Vendor Advisory
- security.netapp.com
- www.debian.org Third Party Advisory