Vulnerabilities · 2023 · Rubyonrails
CVE-2023-22795
Rubyonrails Rails vulnerability
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.
Affected products
Rails, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action- · Patch
- www.debian.org/security/2023/dsa-5372 · Third Party Advisory
- security.netapp.com/advisory/ntap-20240202-0010/
- github.com/rails/rails/releases/tag/v7.0.4.1
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22795.yml
- rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released
- nvd.nist.gov/vuln/detail/CVE-2023-22795
- github.com/rails/rails/commit/8d82687f3b04b2803320b64f985308239a8c3d2f
- nvd.nist.gov/vuln/detail/CVE-2023-22795
- cve.org/CVERecord?id=CVE-2023-22795
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.