CVE-2021-42717 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2022/05/msg00042.html | CVE | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2021/dsa-5023 | CVE | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2022.html | CVE | PatchThird Party Advisory |
| https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/ | CVE | ExploitMitigationVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2022/05/msg00042.html | [email protected] | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2021/dsa-5023 | [email protected] | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2022.html | [email protected] | PatchThird Party Advisory |
| https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/ | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| owasp modsecurity | >= 3.0.0, < 3.0.6 |
CPE
Remediation
| |
| trustwave modsecurity | >= 2.0.0, < 2.9.5 |
CPE
Remediation
| |
| f5 nginx modsecurity waf | r24 r25 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 11.0 |
CPE
Remediation
| |
| oracle http server | 12.2.1.3.0 12.2.1.4.0 |
CPE
Remediation
| |
| oracle zfs storage appliance kit | 8.8 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jul 3, 2025 | CPE Deprecation Remap | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 3, 2022 | Modified Analysis | [email protected] |
| Jun 2, 2022 | CVE Modified | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Apr 5, 2022 | Modified Analysis | [email protected] |
| Dec 19, 2021 | CVE Modified | [email protected] |
| Dec 10, 2021 | Initial Analysis | [email protected] |