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

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-JAVA-ORGIQ80SNAPPY-7198496
  • published 4 Jun 2024
  • disclosed 3 Jun 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

Red Hat

5.3 medium