Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | < 6.1.7.1 |
| Ruby-Lang | Ruby | < 3.2.0 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerPatchVendor Advisory
- https://security.netapp.com/advisory/ntap-20240202-0010/
- https://www.debian.org/security/2023/dsa-5372Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerPatchVendor Advisory
- https://security.netapp.com/advisory/ntap-20240202-0010/
- https://www.debian.org/security/2023/dsa-5372Third Party Advisory
FAQ
What is CVE-2023-22795?
CVE-2023-22795 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 expressio...
How severe is CVE-2023-22795?
CVE-2023-22795 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22795?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails, Ruby-Lang Ruby, Debian Debian Linux.