ReDoS based DoS vulnerability in Active Support's underscore
https://github.com/rails/rails
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| activesupport RubyGems |
|
|
Original description
A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method 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.
From the CVE record · hackerone