CVE-2021-42717
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...
Original description
The description as published by the source.
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.
Affected packages
Bitnami
modsecurity
[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.9.5"}]}]
Bitnami
modsecurity2
[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.9.5"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2021-42717 modsecurity Fixed in: 3.0.6-1
- Ubuntu UBUNTU-CVE-2021-42717 modsecurity-apache Fixed in: 2.9.0-1ubuntu0.1~esm1
References
- advisory lists.debian.org
- advisory debian.org
- advisory oracle.com
- advisory trustwave.com
- web nvd.nist.gov