Impact
The vulnerability arises when the match regex is evaluated on input that also violates length constraints. Because the length check does not gate the regex, an over‑length value still triggers the pattern, allowing attackers to craft data that forces catastrophic backtracking or excessive linear evaluation, which consumes CPU resources and results in a denial of service.
Affected Systems
ash-project ash versions from 0.10.0 up to, but not including, 3.32.2 are affected. The fix was introduced in version 3.32.2, where the regex is only applied when length constraints are satisfied.
Risk and Exploitability
With a CVSS score of 5.9, the vulnerability is moderate, and the EPSS score is not available, so the probability of exploitation is unknown. The issue is not listed in CISA KEV. The likely attack vector is an attacker sending oversized input to any endpoint that validates data with Ash.Type.String, causing the regex to run on the unbounded input. Successful exploitation leads to CPU exhaustion and potential service interruption for affected instances.
OpenCVE Enrichment