Security mailing lists by PureSourceCode

CVE-2021-42717

HIGH 7.5CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD owasp modsecurity
cpe:2.3:a:owasp:modsecurity:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.6 3.0.6
NVD trustwave modsecurity
cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.9.5 2.9.5
NVD f5 nginx_modsecurity_waf
cpe:2.3:a:f5:nginx_modsecurity_waf:r24:*:*:*:*:*:*:*
= r24
NVD f5 nginx_modsecurity_waf
cpe:2.3:a:f5:nginx_modsecurity_waf:r25:*:*:*:*:*:*:*
= r25
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD oracle http_server
cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle http_server
cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle zfs_storage_appliance_kit
cpe: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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.