CVE-2021-42717
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2021-42717
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-12-07T22:15:06
- Last Modified Date
- 2022-09-03T03:33:10
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 | 2.9.5 |
cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:* | 1 | OR | 3.0.0 | 3.0.6 |
cpe:2.3:a:f5:nginx_modsecurity_waf:r24:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:f5:nginx_modsecurity_waf:r25:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-42717 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42717 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 16:58:52 | Added to TrackCVE | |||
2022-12-06 03:15:08 | 2021-12-07T22:15Z | 2021-12-07T22:15:06 | CVE Published Date | updated |
2022-12-06 03:15:08 | 2022-09-03T03:33:10 | CVE Modified Date | updated | |
2022-12-06 03:15:08 | Analyzed | Vulnerability Status | updated | |
2022-12-06 03:15:13 | References | updated |