VDB

BIT-modsecurity2-2021-42717

BIT-modsecurity2-2021-42717 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published March 6, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
modsecurity2Bitnami2.9.5

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Bitnamimodsecurity22.0.0

Timeline

  • Mar 6, 2024 CVE Published
  • Jul 4, 2025 CVE Updated
  • May 15, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln BIT-modsecurity2-2021-42717
vulnetix vdb fixes BIT-modsecurity2-2021-42717

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/BIT-modsecurity2-2021-42717/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›