Vulnerability · Published May 21, 2025 · Assigned by GitHub_M

CVE-2025-47947ModSecurity Has Possible DoS Vulnerability

High 7.5

In plain English

A high-severity security flaw in ModSecurity from owasp-modsecurity. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 51.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8mod_security2.9.6-2.el8_10ALSA-2025:8844
AlmaLinux:9mod_security2.9.6-2.el9_6ALSA-2025:8837
AlmaLinux:8mod_security-mlogc2.9.6-2.el8_10ALSA-2025:8844
AlmaLinux:9mod_security-mlogc2.9.6-2.el9_6ALSA-2025:8837
Debian:12modsecurity-apache2.9.7-1+deb12u1DSA-5940-1
Debian:12modsecurity-apache2.9.7-1+deb12u1DEBIAN-CVE-2025-47947
Debian:13modsecurity-apache2.9.9-1DEBIAN-CVE-2025-47947
Debian:14modsecurity-apache2.9.9-1DEBIAN-CVE-2025-47947
Rocky Linux:8mod_security0:2.9.6-2.el8_10RLSA-2025:8844
Rocky Linux:9mod_security0:2.9.6-2.el9_6RLSA-2025:8837

Affected products (as reported)

VendorProductVersions
owasp-modsecurity ModSecurity <= 2.9.8

Weakness: CWE-1050 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References