Resource exhaustion in ModSecurity - CVE-2025-47947

 

Resource exhaustion in ModSecurity - CVE-2025-47947

Published: May 22, 2025


Vulnerability identifier: #VU109658
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-47947
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources when handling application/json payloads. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Successful exploitation of the vulnerability requires that at least one rule which does a sanitiseMatchedBytes action.


Affected software

ModSecurity
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Fedora
Ubuntu
Server Applications Module
openSUSE Leap
openEuler
EasyApache
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
modsecurity-apache (Ubuntu package)
apache2-mod_security2
apache2-mod_security2-debuginfo
apache2-mod_security2-debugsource
security (Red Hat package)
mod_security-mlogc
mod_security
mod_security (Red Hat package)
modsecurity-apache (Debian package)
mod_security-debuginfo
mod_security-debugsource
Red Hat OpenShift Serverless

How to mitigate CVE-2025-47947

Install updates from vendor's website.

ModSecurity - update to 2.9.9
EasyApache - update to 4 25-18
Red Hat OpenShift Serverless - update to 1
modsecurity-apache (Ubuntu package) - addressed in versions 2.7.7-2ubuntu0.1~esm2, 2.9.0-1ubuntu0.1~esm2, 2.9.2-1ubuntu0.1~esm2, 2.9.3-1ubuntu0.1+esm1, 2.9.5-1ubuntu0.1~esm2, 2.9.7-1ubuntu0.24.04.1~esm1, 2.9.7-1ubuntu0.24.10.1, 2.9.8-1.1ubuntu0.1
apache2-mod_security2 - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
apache2-mod_security2-debuginfo - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
apache2-mod_security2-debugsource - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
security (Red Hat package) - addressed in versions 2.9.2-8.el8_2.1, 2.9.2-9.el8_4.1, 2.9.2-9.el8_6.1
mod_security-mlogc - update to 2.9.6-2
mod_security - update to 2.9.6-2
mod_security (Red Hat package) - addressed in versions 2.9.6-2.el8_10, 2.9.6-2.el9_6
modsecurity-apache (Debian package) - update to 2.9.7-1+deb12u1
mod_security - addressed in versions 2.9.9-1, 2.9.9-2
mod_security-debuginfo - addressed in versions 2.9.9-1, 2.9.9-2
mod_security-debugsource - addressed in versions 2.9.9-1, 2.9.9-2
mod_security - addressed in versions 2.9.9-1.el10_1, 2.9.9-1.fc41, 2.9.9-1.fc42

External References

Related Security Bulletins