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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-12-07T21:08:28

Updated: 2024-08-04T03:38:49.325Z

Reserved: 2021-10-19T00:00:00

Link: CVE-2021-42717

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-12-07T22:15:06.950

Modified: 2022-09-03T03:33:10.373

Link: CVE-2021-42717

cve-icon Redhat

No data.