NetSight
high7.5

CVE-2021-42717

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

Impact

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.

Affected products

VendorProductAffected versions
OwaspModsecurity
from 3.0.0 before 3.0.6
TrustwaveModsecurity
from 2.0.0 before 2.9.5
F5Nginx Modsecurity Waf
Versions r24, r25
DebianDebian Linux
Versions 9.0, 10.0, 11.0
OracleHttp Server
Versions 12.2.1.3.0, 12.2.1.4.0
OracleZfs Storage Appliance Kit
Version 8.8

Weakness classification

References