Denial of Service Vulnerability in ModSecurity-Apache: Critical Update Required

modsecurity-apache Updated 02 Oct 2025

Summary

21/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-47947: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Affects modsecurity-apache versions < 2.9.3-3+deb11u3. Fixed in 2.9.3-3+deb11u3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

ModSecurity is an open-source, cross-platform web application firewall (WAF) engine designed for Apache, IIS, and Nginx. It provides essential security features to protect web applications from various threats, including SQL injection, cross-site scripting, and other vulnerabilities. However, versions up to and including 2.9.8 are susceptible to a denial of service attack under specific conditions, particularly when handling JSON payloads with certain rules applied.

Vulnerability Detail

The vulnerability arises from the handling of payloads with the content type 'application/json' when there is at least one rule that performs the 'sanitiseMatchedBytes' action. This can lead to a denial of service, causing the application to become unresponsive. The issue has been identified in stable released versions of ModSecurity, and a patch is expected to be included in version 2.9.9. It is crucial for users to be aware of this vulnerability as it can severely impact the availability of web applications relying on ModSecurity for security.

How To Fix

Minimum fixed version

2.9.3-3+deb11u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade modsecurity-apache

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no known workarounds for this vulnerability. The best course of action is to apply the available patches as soon as they are released.

Conclusion

The ModSecurity-Apache package has a critical denial of service vulnerability that affects versions up to 2.9.8. Users are strongly advised to update to the patched versions as soon as possible to ensure the security and availability of their web applications. Regular monitoring of vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for modsecurity-apache →

Share this vulnerability

FAQ

ModSecurity is an open-source web application firewall that helps protect web applications from various security threats.

Versions up to and including 2.9.8 are vulnerable to this denial of service issue.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

It is recommended to monitor the situation closely and apply the update as soon as possible, as there are currently no known workarounds.

Related vulnerabilities

Recent vulnerabilities recorded for modsecurity-apache.

How To Fix

Minimum fixed version

2.9.3-3+deb11u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade modsecurity-apache

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback