CVE-2021-42717: debian debian_linux Uncontrolled Recursion
Vulnerability summary
CVE-2021-42717 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in debian debian_linux. EPSS estimates a 3.25% chance of exploitation in the next 30 days, higher than 88.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 07-12-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
3.25%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
+0.10 pp
From 3.15% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (trustwave.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian3 products
- modsecurity< 3.0.6-1
- modsecurity-apache< 2.9.5-1 | < 2.9.3-1+deb10u1 | < 2.9.3-3+deb11u1 | < 2.9.1-2+deb9u1
- debian_linuxEOL9.0 | 10.0 | 11.0
Oracle2 products
- http_server12.2.1.3.0 | 12.2.1.4.0
- zfs_storage_appliance_kit8.8
Ubuntu2 products
- modsecurityAll versions (No fix recorded)
- modsecurity-apache< 2.9.0-1ubuntu0.1~esm1 | < 2.9.2-1ubuntu0.1~esm1 | < 2.9.3-1ubuntu0.1
F51 product
- nginx_modsecurity_wafr24 | r25
Mageia1 product
- apache-mod_security< 2.9.5-1.mga8
Owasp1 product
- modsecurity≥ 3.0.0, < 3.0.6
Trustwave1 product
- modsecurity≥ 2.0.0, < 2.9.5
7 vendors · 11 products
References
12 links- lists.debian.org/debian-lts-announce/2022/05/msg00042.htmlMailing ListX Refsource MLISTThird Party Advisory