Satheesh575555 / jetty_9.4.31

Other
0 stars 0 forks source link

CVE-2021-37137 (High) detected in netty-codec-4.1.28.Final.jar, netty-codec-4.1.3.Final.jar #12

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2021-37137 - High Severity Vulnerability

Vulnerable Libraries - netty-codec-4.1.28.Final.jar, netty-codec-4.1.3.Final.jar

netty-codec-4.1.28.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: /tests/test-sessions/test-infinispan-sessions/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/netty/netty-codec/4.1.28.Final/netty-codec-4.1.28.Final.jar,/home/wss-scanner/.m2/repository/io/netty/netty-codec/4.1.28.Final/netty-codec-4.1.28.Final.jar

Dependency Hierarchy: - infinispan-client-hotrod-9.4.8.Final.jar (Root Library) - netty-handler-4.1.28.Final.jar - :x: **netty-codec-4.1.28.Final.jar** (Vulnerable Library)

netty-codec-4.1.3.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: /jetty-gcloud/jetty-gcloud-session-manager/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/netty/netty-codec/4.1.3.Final/netty-codec-4.1.3.Final.jar,/home/wss-scanner/.m2/repository/io/netty/netty-codec/4.1.3.Final/netty-codec-4.1.3.Final.jar

Dependency Hierarchy: - google-cloud-datastore-1.0.0.jar (Root Library) - datastore-v1-protos-1.3.0.jar - grpc-google-common-protos-0.1.0.jar - grpc-all-1.0.1.jar - grpc-netty-1.0.1.jar - netty-codec-http2-4.1.3.Final.jar - netty-codec-http-4.1.3.Final.jar - :x: **netty-codec-4.1.3.Final.jar** (Vulnerable Library)

Found in HEAD commit: d21e42ca49dd7dfc49c40dd5e12fe263140afbdb

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 (org.infinispan:infinispan-client-hotrod): 9.4.12.Final

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

Direct dependency fix Resolution (com.google.cloud:google-cloud-datastore): 1.13.0


Step up your Open Source Security Game with Mend here