Memory Overwrite Vulnerability in Apache2 Package: CVE-2019-10081
Summary
ALPINE-CVE-2019-10081: HTTP/2 (2.4.20 through 2.4.39) very early pushes, for example configured with "H2PushResource", could lead to an overwrite of memory in the pushing request's pool, leading to crashes. Affects apache2 versions < 2.4.41-r0. Fixed in 2.4.41-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
Apache2 is a widely used open-source web server software that enables users to serve web content over the internet. Known for its flexibility, power, and support for various modules, Apache2 is a critical component in many web architectures. However, certain versions of Apache2 are vulnerable to a memory overwrite issue due to improper handling of HTTP/2 early pushes, which can lead to server crashes.
Vulnerability Detail
The vulnerability identified as CVE-2019-10081 affects Apache2 versions 2.4.20 through 2.4.39. It arises from the handling of very early pushes configured with 'H2PushResource'. This flaw can lead to memory being overwritten in the request's pool, potentially causing crashes. The memory that is copied consists of the configured push link header values rather than data supplied by the client, making it a significant risk for stability and reliability of the server.
How To Fix
Minimum fixed version
2.4.41-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 disable HTTP/2 support in your Apache2 configuration until the package is updated. This can be done by commenting out or removing the 'Protocols h2 http/1.1' line in your Apache configuration file.
Conclusion
CVE-2019-10081 is a critical vulnerability in the Apache2 web server that can lead to memory overwrite and server crashes. It is crucial for users of affected versions to update to the patched version 2.4.41-r0 or later to mitigate this risk. Additionally, temporary workarounds can be implemented until the update is applied.
See every vulnerability recorded for apache2 →
FAQ
CVE-2019-10081 is a vulnerability in Apache2 that allows for memory overwrite due to improper handling of HTTP/2 early pushes.
The vulnerability affects Apache2 versions 2.4.20 through 2.4.39.
Exploiting this vulnerability can lead to server crashes, affecting the availability and reliability of web services.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score for CVE-2019-10081 is 7.5, indicating a high severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for apache2.