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

kafka-clients-3.5.1.jar: 1 vulnerabilities (highest severity is: 7.5) #332

Closed
mend-for-github-com bot opened this issue Sep 27, 2023 · 1 comment
Closed
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Sep 27, 2023

Vulnerable Library - kafka-clients-3.5.1.jar

Path to dependency file: /TrafficCapture/trafficCaptureProxyServer/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar

Found in HEAD commit: 71328c479163c999277def230ec52ef8723758e9

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (kafka-clients version) Remediation Possible**
CVE-2023-43642 High 7.5 snappy-java-1.1.10.1.jar Transitive 3.6.0

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

Details

CVE-2023-43642

Vulnerable Library - snappy-java-1.1.10.1.jar

snappy-java: A fast compression/decompression library

Library home page: https://github.com/xerial/snappy-java

Path to dependency file: /TrafficCapture/dockerSolution/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xerial.snappy/snappy-java/1.1.10.1/4a1e1a22cba39145dfa20f2fef4e1ca38c8e02a1/snappy-java-1.1.10.1.jar

Dependency Hierarchy:

  • kafka-clients-3.5.1.jar (Root Library)
    • snappy-java-1.1.10.1.jar (Vulnerable Library)

Found in HEAD commit: 71328c479163c999277def230ec52ef8723758e9

Found in base branch: main

Vulnerability Details

snappy-java is a Java port of the snappy, a fast C++ compresser/decompresser developed by Google. The SnappyInputStream was found to be vulnerable to Denial of Service (DoS) attacks when decompressing data with a too large chunk size. Due to missing upper bound check on chunk length, an unrecoverable fatal error can occur. All versions of snappy-java including the latest released version 1.1.10.3 are vulnerable to this issue. A fix has been introduced in commit 9f8c3cf74 which will be included in the 1.1.10.4 release. Users are advised to upgrade. Users unable to upgrade should only accept compressed data from trusted sources.

Publish Date: 2023-09-25

URL: CVE-2023-43642

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-55g7-9cwv-5qfv

Release Date: 2023-09-25

Fix Resolution (org.xerial.snappy:snappy-java): 1.1.10.4

Direct dependency fix Resolution (org.apache.kafka:kafka-clients): 3.6.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@sumobrian
Copy link
Collaborator

v3.6.0 merged to main.

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 Mend
Projects
None yet
Development

No branches or pull requests

2 participants