GHSA-q2j3-fc6x-78jj: Ring's nested-params middleware has inefficient regular expression complexity

Published Oct 30, 2026
·
Updated

Ring is a Clojure web applications library inspired by Python's WSGI and Ruby's Rack. Prior to 1.15.5, wrap-nested-params in the ring.middleware.nested-params namespace uses a backtracking regular expression to match parameter names from URL query strings and HTTP request bodies. An attacker can craft a parameter name that drives quadratic O(n^2) matching work, causing regular-expression denial of service in applications using the middleware. Ring-Defaults users are also exposed because nested-params is enabled by default. Applications omitting the middleware do not expose this parsing path. This issue is fixed in version 1.15.5.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ring to a version that resolves this vulnerability.

    Fixed in 1.15.5

Event History

Oct 30, 2026
CVE Published
via OSV·08:34 PM
Data Sourced
via OSV·08:34 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Ring before 1.15.5 are exposed if they use the wrap-nested-params middleware. Ring-Defaults users are exposed because nested-params is enabled by default; applications that omit this middleware do not expose the affected parsing path.

2

What does an attacker need to exploit it?

An attacker can send a crafted parameter name through a URL query string or HTTP request body. No privileges or user interaction are required.

3

What is the practical impact of successful exploitation?

The crafted parameter name can cause quadratic regular-expression matching work, resulting in regular-expression denial of service. The reported impact is availability loss rather than confidentiality or integrity impact.

4

How can this be remediated or mitigated?

Upgrade Ring to version 1.15.5, which fixes the issue. If an immediate upgrade is not possible, omitting wrap-nested-params removes the affected parsing path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203