Out-of-bounds Read Affecting org.iq80.snappy:snappy package, versions [,0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGIQ80SNAPPY-7198496
  • published4 Jun 2024
  • disclosed3 Jun 2024
  • creditUnknown

Introduced: 3 Jun 2024

CVE-2024-36124  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade org.iq80.snappy:snappy to version 0.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to the use of the sun.misc.Unsafe class for memory access without additional bounds checks. An attacker can cause non-deterministic behavior or crash the JVM by providing specially crafted input that triggers an out-of-bounds read.

Note: iq80 Snappy is not actively maintained anymore. As quick fix users can upgrade to version 0.5, but in the long term users should prefer migrating to the Snappy implementation in aircompressor (version 0.27 or newer).

References

CVSS Scores

version 3.1