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.
References
Link | Resource |
---|---|
https://lists.debian.org/debian-lts-announce/2022/05/msg00042.html | Mailing List Third Party Advisory |
https://www.debian.org/security/2021/dsa-5023 | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch 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.html | Mailing List Third Party Advisory |
https://www.debian.org/security/2021/dsa-5023 | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch 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 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
History
21 Nov 2024, 06:28
Type | Values Removed | Values Added |
---|---|---|
References | () https://lists.debian.org/debian-lts-announce/2022/05/msg00042.html - Mailing List, Third Party Advisory | |
References | () https://www.debian.org/security/2021/dsa-5023 - Third Party Advisory | |
References | () https://www.oracle.com/security-alerts/cpuapr2022.html - Patch, Third Party Advisory | |
References | () https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/ - Exploit, Mitigation, Vendor Advisory |
Information
Published : 2021-12-07 22:15
Updated : 2024-11-21 06:28
NVD link : CVE-2021-42717
Mitre link : CVE-2021-42717
CVE.ORG link : CVE-2021-42717
JSON object : View
Products Affected
debian
- debian_linux
oracle
- zfs_storage_appliance_kit
- http_server
f5
- nginx_modsecurity_waf
trustwave
- modsecurity
CWE
CWE-674
Uncontrolled Recursion