yaeljacobs67 / fs-agent

File system agent for integration with WhiteSource service
Apache License 2.0
0 stars 0 forks source link

CVE-2021-37137 (High) detected in netty-codec-4.1.19.Final.jar, netty-all-4.0.33.Final.jar #135

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

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

CVE-2021-37137 - High Severity Vulnerability

Vulnerable Libraries - netty-codec-4.1.19.Final.jar, netty-all-4.0.33.Final.jar

netty-codec-4.1.19.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: /fs-agent/pom.xml

Path to vulnerable library: /root/.m2/repository/io/netty/netty-codec/4.1.19.Final/netty-codec-4.1.19.Final.jar

Dependency Hierarchy: - vertx-core-3.5.4.jar (Root Library) - netty-handler-4.1.19.Final.jar - :x: **netty-codec-4.1.19.Final.jar** (Vulnerable Library)

netty-all-4.0.33.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: /fs-agent/test_input/gradle/build.gradle

Path to vulnerable library: /test_input/gradle/build.gradle

Dependency Hierarchy: - :x: **netty-all-4.0.33.Final.jar** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.

Publish Date: 2021-10-19

URL: CVE-2021-37137

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: https://github.com/advisories/GHSA-9vjp-v76f-g363

Release Date: 2021-10-19

Fix Resolution (io.netty:netty-codec): 4.1.68.Final

Direct dependency fix Resolution (io.vertx:vertx-core): 3.9.10