ar-abed / sample

MIT License
0 stars 0 forks source link

CVE-2022-24823 (Medium) detected in netty-common-4.1.27.Final.jar #113

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-24823 - Medium Severity Vulnerability

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

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

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

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.1.27.Final/6a12a969c27fb37b230c4bde5a67bd822fa6b7a4/netty-common-4.1.27.Final.jar

Dependency Hierarchy: - grpc-netty-1.14.0.jar (Root Library) - netty-codec-http2-4.1.27.Final.jar - netty-handler-4.1.27.Final.jar - netty-buffer-4.1.27.Final.jar - :x: **netty-common-4.1.27.Final.jar** (Vulnerable Library)

Found in HEAD commit: 722089816e5192b667c19cb836256ef6da8be1ac

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


Step up your Open Source Security Game with Mend here