jgeraigery / Singularity-4567321

Scheduler (HTTP API and webapp) for running Mesos tasks—long running processes, one-off tasks, and scheduled jobs. #hubspot-open-source
http://getsingularity.com/
Apache License 2.0
0 stars 0 forks source link

snappy-0.3.jar: 1 vulnerabilities (highest severity is: 5.3) #248

Open mend-for-github-com[bot] opened 3 months ago

mend-for-github-com[bot] commented 3 months ago
Vulnerable Library - snappy-0.3.jar

Port of Snappy to Java

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

Path to dependency file: /EmbedSingularityExample/pom.xml

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

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (snappy version) Remediation Possible** Reachability
CVE-2024-36124 Medium 5.3 Not Defined 0.0% snappy-0.3.jar Direct org.iq80.snappy:snappy:0.5,io.airlift:aircompressor:0.27

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-36124 ### Vulnerable Library - snappy-0.3.jar

Port of Snappy to Java

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

Path to dependency file: /EmbedSingularityExample/pom.xml

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

Dependency Hierarchy: - :x: **snappy-0.3.jar** (Vulnerable Library)

Found in base branch: master

### 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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### 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: https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9

Release Date: 2024-06-03

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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.