Skip to content

CVE-2024-36124 iq80 Snappy has an out-of-bounds read when uncompressing data, leading to JVM crash

MediumCVSS 5.3 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

iq80 Snappy is a compression/decompression library. When uncompressing certain data, Snappy tries to read outside the bounds of the given byte arrays. Because Snappy 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. iq80 Snappy is not actively maintained anymore. As quick fix users can upgrade to version 0.5.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
dain snappy < 0.5; = < 0.5 0.5 Fixed
org.iq80.snappy/snappy(Maven) < 0.5; = 0.1; = 0.2; = 0.3 +1 more 0.5 Fixed
xerial snappy-java < 0.5 0.5 Fixed

Affected products

ProductAffected versionsFixed in
org.iq80.snappy/snappy(Maven) < 0.5 0.5
org.iq80.snappy/snappy(Maven) = 0.1 No fix listed
org.iq80.snappy/snappy(Maven) = 0.2 No fix listed
org.iq80.snappy/snappy(Maven) = 0.3 No fix listed
org.iq80.snappy/snappy(Maven) = 0.4 No fix listed
dain snappy = < 0.5 No fix listed
xerial snappy-java < 0.5 0.5
dain snappy < 0.5 0.5

References