Security Update for modsecurity-apache
Summary
DSA-5023-1: modsecurity-apache - security update. Affects modsecurity-apache versions < 2.9.3-1+deb10u1. Fixed in 2.9.3-1+deb10u1. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
modsecurity-apache is an Apache module designed to enhance web application security. It provides various features to protect against common web vulnerabilities and attacks. However, a vulnerability has been discovered in modsecurity-apache that could lead to a denial of service (DoS) attack. The issue arises when handling excessively nested JSON objects, causing the module to consume excessive resources and potentially crash the server.
Vulnerability Detail
The vulnerability in modsecurity-apache is due to improper handling of excessively nested JSON objects. An attacker can send a specially crafted request with a large number of nested JSON objects, causing the module to consume excessive memory and CPU resources. This can result in a DoS condition, where the server becomes unresponsive or crashes. The impact of this vulnerability can be severe, as it allows an attacker to disrupt the availability of the affected web server.
How To Fix
Minimum fixed version
2.9.3-1+deb10u1
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
There is no known workaround for this vulnerability. It is essential to apply the provided security update to address the issue effectively.
Conclusion
The vulnerability in modsecurity-apache can be mitigated by upgrading to the latest fixed version of the package. It is crucial to apply this security update to protect against potential denial of service attacks. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for modsecurity-apache →
FAQ
modsecurity-apache is an Apache module that enhances web application security by providing various features to protect against common web vulnerabilities and attacks.
The vulnerability in modsecurity-apache can lead to a denial of service (DoS) attack, where an attacker can cause the server to become unresponsive or crash by sending a specially crafted request with excessively nested JSON objects.
To fix this vulnerability, you should upgrade the modsecurity-apache package to the latest fixed version. For the oldstable distribution (buster), upgrade to version 2.9.3-1+deb10u1. For the stable distribution (bullseye), upgrade to version 2.9.3-3+deb11u1.
No, there is no known workaround for this vulnerability. It is crucial to apply the provided security update to mitigate the risk effectively.
You can find more information about this vulnerability in the security tracker page for modsecurity-apache: https://security-tracker.debian.org/tracker/modsecurity-apache
Related vulnerabilities
Recent vulnerabilities recorded for modsecurity-apache.