Vulnerability · Published Jun 3, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity out-of-bounds read in snappy from dain. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 57.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.iq80.snappy:snappy0.5GHSA-8wh2-6qhj-h7j9

Affected products (as reported)

VendorProductVersions
dain snappy < 0.5

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References