Technical impact
Ring's wrap‑nested‑params middleware uses a backtracking regular expression to parse parameter names from URL query strings and request bodies. An attacker can supply a specially crafted parameter name that causes the regular expression to perform quadratic O(n^2) matching, leading to a denial‑of‑service that exhausts server resources. This vulnerability is a classic example of a regular‑expression denial of service (REGEXP-DSO).
Affected Systems
Ring library versions earlier than 1.15.5 are affected, including any application that uses the ring.middleware.nested‑params namespace. Applications built with Ring‑Defaults are also exposed because nested‑params is enabled by default. Omitting the middleware entirely avoids the vulnerable parsing path.
Risk and Exploitability
The CVSS score of 7.5 marks the issue as high severity. There is no EPSS score available, so the current exploitation probability is unknown, but the widespread use of HTTP query parameters and the remote nature of the attack vector suggest that the vulnerability could be abused when an attacker can send HTTP requests to the target application. The vulnerability is not listed in the CISA KEV catalog, indicating that no known widespread exploitation is documented at the time of analysis.