Vulnerabilities · 2023 · Rubyonrails
CVE-2023-22792
Rubyonrails Rails vulnerability
A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. 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. 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-22792-possible-redos-based-dos-vulnerability-in-action- · Patch
- security.netapp.com/advisory/ntap-20240202-0007/
- www.debian.org/security/2023/dsa-5372
- github.com/rails/rails/releases/tag/v7.0.4.1
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22792.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-22792
- security.netapp.com/advisory/ntap-20240202-0007
- nvd.nist.gov/vuln/detail/CVE-2023-22792
- cve.org/CVERecord?id=CVE-2023-22792
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.