Live threats

All CVEs / Owasp

CVE-2021-42717Owasp Modsecurity

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Dec 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Modsecurity.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
owaspmodsecurity≥ 3.0.0 < 3.0.6
trustwavemodsecurity≥ 2.0.0 < 2.9.5
f5nginx_modsecurity_wafr24
f5nginx_modsecurity_wafr25
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
oraclehttp_server12.2.1.3.0
oraclehttp_server12.2.1.4.0
oraclezfs_storage_appliance_kit8.8

Official sources

References

Links published by the sources. Open them with care.