Critical Vulnerability in Apache2: Cache-Digest Header Exploit
Summary
ALPINE-CVE-2020-9490: Apache HTTP Server versions 2.4.20 to 2.4.43. Affects apache2 versions < 2.4.46-r0. Fixed in 2.4.46-r0. 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
Apache HTTP Server, commonly referred to as Apache2, is a widely used open-source web server software that enables the hosting of websites and applications. It is known for its flexibility, power, and robust feature set, including support for various protocols and modules. However, certain versions of Apache2 are vulnerable to a specific issue related to the handling of the 'Cache-Digest' header in HTTP/2 requests, which can lead to server crashes.
Vulnerability Detail
The vulnerability, identified as CVE-2020-9490, affects Apache HTTP Server versions 2.4.20 to 2.4.43. It arises from a flaw in how the server processes a specially crafted value for the 'Cache-Digest' header in HTTP/2 requests. When the server attempts to HTTP/2 PUSH a resource after receiving such a request, it can crash, leading to potential denial of service. This vulnerability has a CVSS score of 7.5, indicating a high severity level.
How To Fix
Minimum fixed version
2.4.46-r0
This is the first release that contains the fix.
sudo apk add --upgrade apache2
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, you can mitigate the impact of this vulnerability by disabling the HTTP/2 push feature. This can be done by adding the following directive to your Apache configuration: 'H2Push off'. This will prevent the server from attempting to push resources, thus avoiding the crash.
Conclusion
The CVE-2020-9490 vulnerability in Apache HTTP Server poses a significant risk due to its potential to crash the server under specific conditions. It is crucial for users to update to the patched version or implement the recommended workaround to ensure the stability and security of their web applications.
See every vulnerability recorded for apache2 →
FAQ
CVE-2020-9490 is a vulnerability in Apache HTTP Server that can cause the server to crash when processing certain HTTP/2 requests.
The vulnerability affects Apache HTTP Server versions 2.4.20 to 2.4.43.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score for this vulnerability is 7.5, indicating a high severity level.
If immediate updates are not possible, you can disable the HTTP/2 push feature by adding 'H2Push off' to your Apache configuration as a temporary workaround.
References
Related vulnerabilities
Recent vulnerabilities recorded for apache2.