What’s Vulnerable › Vulnerabilities

CVE-2023-22796: ReDoS based DoS vulnerability in Active Support's underscore

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.

Affected products

How to fix

Upgrade to a fixed version: Activesupport Project Activesupport 6.1.7.1, 7.0.4.1; Rubygems Activesupport 6.1.7.1, 7.0.4.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-22796 or the next vulnerability affects your stack