Vulnerability
CVE-2024-36124
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.
13 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2255-3xw6-q59q
- CGA-234w-q2hw-3h2h
- CGA-282m-xrr3-2h3q
- CGA-2jqw-pm55-vp7m
- CGA-3rc6-vvwv-pfx5
- CGA-8hwg-84wm-qr9p
- CGA-cj5p-4jwf-9c8c
- CGA-crqq-jh67-7fjm
- CGA-m4f6-3pfc-mv8j
- CGA-mvx7-vhjg-q35w
- CGA-q4wm-97c8-2pr9
- CGA-rwm9-49q8-vgwh
-
GHSA-8wh2-6qhj-h7j9
iq80 Snappy out-of-bounds read when uncompressing data, leading to JVM crash