BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-42717 in Debian Linux and 5 more products

High 7.5 Fix available

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 mi...

Affects 6 products from 5 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS3.3%
EPSS percentile89th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0 10.0 11.0
F5 Nginx Modsecurity Waf r24 r25
Oracle Http Server 12.2.1.3.0 12.2.1.4.0
Oracle Zfs Storage Appliance Kit 8.8
Owasp Modsecurity ≥ 3.0.0, < 3.0.6
Trustwave Modsecurity ≥ 2.0.0, < 2.9.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-42717
BreachSpider IDBS-2021-GLOBAL-248265-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2021-12-07
Last modified2025-07-03
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-674: CWE-674

Related attack patterns (CAPEC)

CAPEC-230 Serialized Data with Nested Payloads via CWE-674

CAPEC-231 Oversized Serialized Data Payloads via CWE-674

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2021. A high severity vulnerability affects Debian systems (CVE-2021-42717). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Questions

What is CVE-2021-42717?

This vulnerability was disclosed in 2021. A high severity vulnerability affects Debian systems (CVE-2021-42717). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2021-42717?

CVE-2021-42717 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 3.3%.

Is CVE-2021-42717 actively exploited?

No confirmed active exploitation of CVE-2021-42717 as of 2026-05-30.

How do I remediate CVE-2021-42717?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2021-42717?

CVE-2021-42717 affects Debian Debian Linux; F5 Nginx Modsecurity Waf; Oracle Http Server, Zfs Storage Appliance Kit; Owasp Modsecurity; Trustwave Modsecurity.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-07-03.