Skip to main content

CVE-2024-36124

Severity

5.3

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.

Mitigation

We recommend upgrading to a version of this component that is not vulnerable to this specific issue.
This package is not actively maintained anymore and advises users to migrate to the Snappy implementation in [https://github.com/airlift/aircompressor](https://github.com/airlift/aircompressor) (version 0.27 or newer).
Reference:[https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9](https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9)

Note: If this component is included as a bundled/transitive dependency of another component, there may not be an upgrade path. In this instance, we recommend contacting the maintainers who included the vulnerable package. Alternatively, we recommend investigating alternative components or a potential mitigating control.

Project

Date Disclosed

2024-07-01

Date Discovered

2024-07-01

Feel Vulnerable? 

Contact us so we can help you.

* These fields are required.