CVE-2025-47947 ModSecurity Has Possible DoS Vulnerability
HighCVSS 7.5
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- NginxUbuntuDebianNetwork Appliances
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.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/modsecurity-apache(Debian 12) | < 2.9.7-1+deb12u1; = 2.9.7-1 | 2.9.7-1+deb12u1 | Fixed |
| debian/modsecurity-apache(Debian 13) | < 2.9.9-1 | 2.9.9-1 | Fixed |
| debian/modsecurity-apache(Debian 14) | < 2.9.9-1 | 2.9.9-1 | Fixed |
| trustwave modsecurity | < 2.9.9 | 2.9.9 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu 22.04) | < 2.9.5-1ubuntu0.1~esm2 | 2.9.5-1ubuntu0.1~esm2 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu 24.04) | < 2.9.7-1ubuntu0.24.04.1~esm1 | 2.9.7-1ubuntu0.24.04.1~esm1 | Fixed |
| owasp-modsecurity ModSecurity | = <= 2.9.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/modsecurity-apache(Debian:12) | < 2.9.7-1+deb12u1 | 2.9.7-1+deb12u1 |
| debian/modsecurity-apache(Debian:12) | = 2.9.7-1 | No fix listed |
| debian/modsecurity-apache(Debian:13) | < 2.9.9-1 | 2.9.9-1 |
| debian/modsecurity-apache(Debian:14) | < 2.9.9-1 | 2.9.9-1 |
| owasp-modsecurity ModSecurity | = <= 2.9.8 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:22.04) | < 2.9.5-1ubuntu0.1~esm2 | 2.9.5-1ubuntu0.1~esm2 |
| ubuntu/modsecurity-apache(Ubuntu:24.04) | < 2.9.7-1ubuntu0.24.04.1~esm1 | 2.9.7-1ubuntu0.24.04.1~esm1 |
| trustwave modsecurity | < 2.9.9 | 2.9.9 |
References
- Debian Security Tracker CVE-2025-47947 vendor-advisory
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r exploit vendor-advisory
- https://github.com/owasp-modsecurity/ModSecurity/pull/3389 issue-tracking patch
- Ubuntu CVE tracker vendor-advisory
- USN-7567-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking