activesupport is vulnerable to Regular Expression Denial Of Service (ReDoS). The vulnerability exists due to the insecure Regex pattern used in the underscore
function of methods.rb
, allowing an attacker to crash the application by providing a maliciously crafted string.
discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116
github.com/advisories/GHSA-j6gc-792m-qgm2
github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8
github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946ef
github.com/rails/rails/releases/tag/v6.1.7.1
github.com/rails/rails/releases/tag/v7.0.4.1
www.debian.org/security/2023/dsa-5372