7.5high
ModSecurity Has Possible DoS Vulnerability
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-MODSECURITY-2025-47947BIT-MODSECURITY2-2025-47947GHSA-859r-vvv8-rm8r
Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| owasp-modsecurity ModSecurity | <= 2.9.8 | CVE List |
| trustwave modsecurity | before 2.9.9 | NVD |
| modsecurity (Bitnami) | before 3.0.12 | Bitnami Vulnerability Database |
| modsecurity2 (Bitnami) | before 2.9.9 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.
NVD (es)
ModSecurity es un motor de firewall de aplicaciones web (WAF) multiplataforma de código abierto para Apache, IIS y Nginx. Las versiones hasta la 2.9.8 incluida son vulnerables a denegación de servicio en un caso especial (en versiones estables): cuando el tipo de contenido del payload es `application/json` y existe al menos una regla que ejecuta la acción `sanitiseMatchedBytes`. Hay un parche disponible en la solicitud de incorporación de cambios 3389 y se espera que forme parte de la versión 2.9.9. No se conocen workarounds.
References
| https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r | advisory, exploit, vendor-advisory | |
| https://github.com/owasp-modsecurity/ModSecurity/pull/3389 | fix, issue-tracking, patch | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-47947 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47947 changed 2025-05-22 | CVE Terms of Use |
| NVD | CVE-2025-47947 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MODSECURITY-2025-47947 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MODSECURITY2-2025-47947 changed 2026-09-08 | Apache-2.0 |