Skip to main content
← All vulnerabilities
CVE-2021-42717

ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects.

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub

Summary

ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Crafted JSON objects with nesting tens-of-thousands deep could result in the web server being unable to service legitimate requests. Even a moderately large (e.g., 300KB) HTTP request can occupy one of the limited NGINX worker processes for minutes and consume almost all of the available CPU on the machine. Modsecurity 2 is similarly vulnerable: the affected versions include 2.8.0 through 2.9.4.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 5

debian.org

oracle.com

trustwave.com

lists.debian.org

GitHub · EkamSinghWalia/Detection-and-Mitigation-script-for-CVE-2021-42717