CVE-2024-36114: Decompressors can crash the JVM and leak memory content in Aircompressor
Summary All decompressor implementations of Aircompressor (LZ4, LZO, Snappy, Zstandard) can crash the JVM for certain input, and in some cases also leak the content of other memory of the Java process (which could contain sensitive information).
Details When decompressing certain data, the decompressors try to access memory outside the bounds of the given byte arrays or byte buffers. Because Aircompressor uses the JDK class sun.misc.Unsafe to speed up memory access, no additional bounds checks are performed and this has similar security consequences as out-of-bounds access in C or C++, namely it can lead to non-deterministic behavior or crash the JVM.
Users should update to Aircompressor 0.27 or newer where these issues have been fixed.
Impact When decompressing data from untrusted users, this can be exploited for a denial-of-service attack by crashing the JVM, or to leak other sensitive information from the Java process.
Other sources
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and Zstandard compression algorithms to Java. All decompressor implementations of Aircompressor (LZ4, LZO, Snappy, Zstandard) can crash the JVM for certain input, and in some cases also leak the content of other memory of the Java process (which could contain sensitive information). When decompressing certain data, the decompressors try to access memory outside the bounds of the given byte arrays or byte buffers. Because Aircompressor uses the JDK class sun.misc.Unsafe to speed up memory access, no additional bounds checks are performed and this has similar security consequences as out-of-bounds access in C or C++, namely it can lead to non-deterministic behavior or crash the JVM. Users should update to Aircompressor 0.27 or newer where these issues have been fixed. When decompressing data from untrusted users, this can be exploited for a denial-of-service attack by crashing the JVM, or to leak other sensitive information from the Java process. There are no known workarounds for this issue.
— NVD
airlift aircompressor could allow a local attacker to obtain sensitive information, caused by an out-of-bounds read/write flaw in the decompressor implementations. By sending a specially crafted request, an attacker could exploit this vulnerability to obtain sensitive information and crash the JVM.
— IBM
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-36114?
CVE-2024-36114 is classified as a high severity vulnerability due to potential JVM crashes and memory leaks.
How do I fix CVE-2024-36114?
To fix CVE-2024-36114, upgrade the aircompressor library to version 0.27 or later.
Which software is affected by CVE-2024-36114?
CVE-2024-36114 affects aircompressor versions prior to 0.27 and IBM Cognos Dashboards on Cloud Pak for Data versions up to and including 5.0.0 and 4.8.0.
What kind of information can be leaked due to CVE-2024-36114?
CVE-2024-36114 can potentially leak sensitive information from the memory of the Java process.
Is CVE-2024-36114 a common vulnerability?
While it is not the most common vulnerability, its implications for JVM stability and data security make it critical to address.