PT-2026-84084 · Ash · Ash
CVSS v4.0
5.9
Medium
| Vector | AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
ash versions 0.10.0 through 3.32.1
Description
An uncontrolled resource consumption issue exists where an attacker can force the execution of an expensive regular expression on input that should have been rejected by a length constraint. The function
Ash.Type.String.apply constraints/2 evaluates the :match regex regardless of the min length and max length constraints on the same attribute. Since the length check does not gate the regex, values exceeding the length limit still have the pattern applied, leading to catastrophic regex evaluation with backtracking patterns or high CPU consumption with linear patterns on arbitrarily large input.Recommendations
Update ash to version 3.32.2 or later.
Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ash