Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-36124 (Medium) detected in snappy-0.4.jar #47

Open
mend-for-github-com bot opened this issue Jun 9, 2024 · 0 comments
Open

CVE-2024-36124 (Medium) detected in snappy-0.4.jar #47

mend-for-github-com bot opened this issue Jun 9, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

CVE-2024-36124 - Medium Severity Vulnerability

Vulnerable Library - snappy-0.4.jar

Port of Snappy to Java

Library home page: http://github.com/dain/snappy

Path to dependency file: /ep-maven/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar

Dependency Hierarchy:

  • maven-assembly-plugin-3.7.1.jar (Root Library)
    • plexus-archiver-4.9.2.jar
      • snappy-0.4.jar (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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.

Mend Note: Since org.iq80.snappy:snappy is not maintained anymore, in the long term users should prefer migrating to the Snappy implementation in the artifact io.airlift:aircompressor, version 0.27 and higher.

Publish Date: 2024-06-03

URL: CVE-2024-36124

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8wh2-6qhj-h7j9

Release Date: 2024-06-03

Fix Resolution: org.iq80.snappy:snappy:0.5,io.airlift:aircompressor:0.27

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants