snowflake-jdbc icon indicating copy to clipboard operation
snowflake-jdbc copied to clipboard

netty-common-4.1.72.Final.jar: 1 vulnerabilities (highest severity is: 5.5)

Open mend-for-github-com[bot] opened this issue 3 years ago • 1 comments

Vulnerable Library - netty-common-4.1.72.Final.jar

Library home page: https://netty.io/

Path to dependency file: /tmp/ws-ua_20220601171344_ZCGSCJ/archiveExtraction_VTFZVS/UKRVQP/20220601171344/snowflake-jdbc_depth_0/dependencies/arrow-memory-netty-8.0.0/META-INF/maven/org.apache.arrow/arrow-memory-netty/pom.xml

Path to vulnerable library: /sitory/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar,/sitory/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2022-24823 Medium 5.5 netty-common-4.1.72.Final.jar Direct io.netty:netty-all;io.netty:netty-common - 4.1.77.Final

Details

CVE-2022-24823

Vulnerable Library - netty-common-4.1.72.Final.jar

Library home page: https://netty.io/

Path to dependency file: /tmp/ws-ua_20220601171344_ZCGSCJ/archiveExtraction_VTFZVS/UKRVQP/20220601171344/snowflake-jdbc_depth_0/dependencies/arrow-memory-netty-8.0.0/META-INF/maven/org.apache.arrow/arrow-memory-netty/pom.xml

Path to vulnerable library: /sitory/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar,/sitory/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar

Dependency Hierarchy:

  • :x: netty-common-4.1.72.Final.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Netty is an open-source, asynchronous event-driven network application framework. The package io.netty:netty-codec-http prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. When Netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own java.io.tmpdir when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user.

Publish Date: 2022-05-06

URL: CVE-2022-24823

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24823

Release Date: 2022-05-06

Fix Resolution: io.netty:netty-all;io.netty:netty-common - 4.1.77.Final

Snyk shows the dependency with version io.netty:[email protected]. I think it is a false positive. Also whitesource has been removed, I will need to check why it is popping up again..

sfc-gh-jfan avatar Jul 26 '22 22:07 sfc-gh-jfan

Latest driver has 4.1.77.Final version of netty-common lib.

sfc-gh-igarish avatar Mar 15 '23 23:03 sfc-gh-igarish