Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-36124 EUVD-2024-1986GHSA-8wh2-6qhj-h7j9

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

Published Jun 3, 2024 · Updated Sep 5, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
dain snappy < 0.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-nifi +2 2.0.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.iq80.snappy:snappy < 0.5 0.5 GHSA-8wh2-6qhj-h7j9

Advisories 1

References