{"id":"CVE-2021-42717","published":"2021-12-07T21:08:28Z","modified":"2024-08-04T03:38:49Z","title":"ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03339,"percentile":0.88951,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.debian.org/security/2021/dsa-5023","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/modsecurity-dos-vulnerability-in-json-parsing-cve-2021-42717/","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00042.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":17.79},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-11-20","earliestUrl":"https://github.com/EkamSinghWalia/Detection-and-Mitigation-script-for-CVE-2021-42717","repos":[{"name":"EkamSinghWalia/Detection-and-Mitigation-script-for-CVE-2021-42717","url":"https://github.com/EkamSinghWalia/Detection-and-Mitigation-script-for-CVE-2021-42717","stars":1,"created":"2022-11-20"}]},"first":{"date":"2022-11-20","source":"PoC-in-GitHub","url":"https://github.com/EkamSinghWalia/Detection-and-Mitigation-script-for-CVE-2021-42717"},"provenance":"source"},"euvd":{"id":"EUVD-2021-29677","exploited":false,"provenance":"source"}}