GHSA-973x-65j7-xcf4: High severity maven/io.airlift:aircompressor vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/io.airlift:aircompressorto a version that resolves this vulnerability.Fixed in 0.27 - Upgrade
Upgrade
Aircompressorto a version that resolves this vulnerability.Fixed in 0.27
Event History
Frequently Asked Questions
What is the severity of GHSA-973x-65j7-xcf4?
The severity of GHSA-973x-65j7-xcf4 is critical due to potential JVM crashes and memory leaks.
How do I fix GHSA-973x-65j7-xcf4?
To fix GHSA-973x-65j7-xcf4, upgrade the aircompressor library to version 0.27 or later.
What types of input are problematic in GHSA-973x-65j7-xcf4?
GHSA-973x-65j7-xcf4 is triggered by specific malformed input during the decompression process.
Which versions of aircompressor are affected by GHSA-973x-65j7-xcf4?
Versions of aircompressor before 0.27 are affected by GHSA-973x-65j7-xcf4.
What are the potential consequences of GHSA-973x-65j7-xcf4?
Consequences of GHSA-973x-65j7-xcf4 include JVM crashes and leakage of sensitive memory content.