Description
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.
Remediation
References
Related Vulnerabilities
Django Cleartext Transmission of Sensitive Information Vulnerability (CVE-2019-12781)
MySQL CVE-2019-2774 Vulnerability (CVE-2019-2774)
Dolibarr Weak Password Recovery Mechanism for Forgotten Password Vulnerability (CVE-2021-25957)
Drupal Core 9.1.x Cross-Site Request Forgery (9.1.0 - 9.1.12)
WordPress Plugin WordPress Shortcodes-Shortcodes Ultimate Cross-Site Scripting (5.0.6)