Vulnerability database / CVE-2021-42717
CVE-2021-42717
HIGH 7.5 CVSS 3.1 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.
Published 7 Dec 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-674 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
owasp
modsecuritycpe:2.3:a:owasp:modsecurity:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.6
3.0.6 NVD
trustwave
modsecuritycpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.9.5
2.9.5 NVD
f5
nginx_modsecurity_wafcpe:2.3:a:f5:nginx_modsecurity_waf:r24:*:*:*:*:*:*:*
= r24
NVD
f5
nginx_modsecurity_wafcpe:2.3:a:f5:nginx_modsecurity_waf:r25:*:*:*:*:*:*:*
= r25
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD
oracle
http_servercpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD
oracle
http_servercpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD
oracle
zfs_storage_appliance_kitcpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
= 8.8
References
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Dec 2021)