CVE-2021-42717
Last modified
CVE-2021-42717 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.21% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Owasp | Modsecurity | >= 3.0.0, < 3.0.6 |
| Trustwave | Modsecurity | >= 2.0.0, < 2.9.5 |
| F5 | Nginx Modsecurity Waf | r24 |
| F5 | Nginx Modsecurity Waf | r25 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Oracle | Http Server | 12.2.1.3.0 |
| Oracle | Http Server | 12.2.1.4.0 |
| Oracle | Zfs Storage Appliance Kit | 8.8 |
References
- https://lists.debian.org/debian-lts-announce/2022/05/msg00042.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-5023Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/Exploit, Mitigation, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00042.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-5023Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-42717?
How severe is CVE-2021-42717?
How do I fix CVE-2021-42717?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-42711Barracuda Network Access Client before 5.2.2 creates a Tempo…7.8
- CVE-2021-42712Splashtop Streamer through 3.4.8.3 creates a Temporary File …7.8
- CVE-2021-42713Splashtop Remote Client (Personal Edition) through 3.4.6.1 c…7.8
- CVE-2021-42714Splashtop Remote Client (Business Edition) through 3.4.8.3 c…7.8
- CVE-2021-42715An issue was discovered in stb stb_image.h 1.33 through 2.27…5.5
- CVE-2021-42716An issue was discovered in stb stb_image.h 2.27. The PNM loa…7.1
- CVE-2021-42718Information Disclosure in API in Replicated Replicated Class…4.9
- CVE-2021-42719Adobe Bridge version 11.1.1 (and earlier) is affected by an …7.8
- CVE-2021-4272A vulnerability classified as problematic has been found in …6.1
- CVE-2021-42720Adobe Bridge version 11.1.1 (and earlier) is affected by an …7.8
- CVE-2021-42721Acrobat Bridge versions 11.1.1 and earlier are affected by a…7.8
- CVE-2021-42722Adobe Bridge version 11.1.1 (and earlier) is affected by an …7.8
Are you affected by CVE-2021-42717?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
