CVE-2023-22795
Last modified
CVE-2023-22795 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | < 6.1.7.1 |
| Rubyonrails | Rails | >= 7.0.0, < 7.0.4.1 |
| Debian | Debian Linux | 11.0 |
References
- https://www.debian.org/security/2023/dsa-5372Third Party Advisory
- https://www.debian.org/security/2023/dsa-5372Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-22795?
How severe is CVE-2023-22795?
How do I fix CVE-2023-22795?
Are you affected by CVE-2023-22795?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
