A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
yawkat LZ4 Java provides LZ4 compression for Java. Prior to 1.11.2, LZ4DecompressorWithLength uses getDecompressedLength to trust the four-byte decompressed-length header before validating the compressed input, allowing a five-byte attacker-supplied input whose header declares a large output size to request up to approximately 2 GiB and exhaust the JVM heap. Convenience overloads backed by LZ4FastDecompressor or LZ4SafeDecompressor allocate the untrusted size, while overloads that write to a caller-provided destination buffer are not affected because the caller controls the destination size. This issue is fixed in version 1.11.2.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /yawkat/lz4-java/commit/6492ce5aca6bd03ff9e08ee18a2beb94c43…
- github.com /yawkat/lz4-java/releases/tag/v1.11.2
- github.com /yawkat/lz4-java/security/advisories/GHSA-6cx8-rjf8-pr8g
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning