CVE-2021-42717

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-42717
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42717.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-42717
Aliases
Related
Published
2021-12-07T22:15:06Z
Modified
2024-09-18T03:16:53.775474Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / modsecurity

Package

Name
modsecurity
Purl
pkg:deb/debian/modsecurity?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.4-2
3.0.6-1
3.0.8-1
3.0.8-2
3.0.8-3
3.0.9-1
3.0.10-1
3.0.11-1
3.0.12-1
3.0.12-1.1~exp1
3.0.12-1.1
3.0.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / modsecurity

Package

Name
modsecurity
Purl
pkg:deb/debian/modsecurity?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / modsecurity

Package

Name
modsecurity
Purl
pkg:deb/debian/modsecurity?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / modsecurity-apache

Package

Name
modsecurity-apache
Purl
pkg:deb/debian/modsecurity-apache?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.3-3+deb11u1

Affected versions

2.*

2.9.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / modsecurity-apache

Package

Name
modsecurity-apache
Purl
pkg:deb/debian/modsecurity-apache?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / modsecurity-apache

Package

Name
modsecurity-apache
Purl
pkg:deb/debian/modsecurity-apache?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/owasp-modsecurity/modsecurity

Affected ranges

Type
GIT
Repo
https://github.com/owasp-modsecurity/modsecurity
Events
Type
GIT
Repo
https://github.com/spiderlabs/modsecurity
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.7.2
v2.7.3
v2.7.4
v2.7.5
v2.7.6
v2.7.7
v2.9.0
v2.9.0-rc1
v2.9.0-rc2
v2.9.1
v2.9.1-rc1
v2.9.2
v2.9.3
v2.9.4

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.5