Uncontrolled Recursion Affecting modsecurity package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.24% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-MODSECURITY-1925345
  • published24 Nov 2021
  • disclosed7 Dec 2021

Introduced: 24 Nov 2021

CVE-2021-42717  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 modsecurity.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity package and not the modsecurity package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1