CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Owasp

CVE-2021-42717
Owasp Modsecurity vulnerability

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

Modsecurity, Nginx Modsecurity Waf, Debian Linux, Http Server, Zfs Storage Appliance Kit. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Owasp Modsecurity runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Owasp products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.