vipinsun / minifabric

Do fabric network the right and easy way.
Apache License 2.0
0 stars 0 forks source link

CVE-2024-29025 (Medium) detected in netty-codec-http-4.1.38.Final.jar #167

Open mend-bolt-for-github[bot] opened 8 months ago

mend-bolt-for-github[bot] commented 8 months ago

CVE-2024-29025 - Medium Severity Vulnerability

Vulnerable Library - netty-codec-http-4.1.38.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: https://netty.io/

Path to dependency file: /chaincode/simple/java/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.38.Final/4d55b3cdb74cd140d262de96987ebd369125a64c/netty-codec-http-4.1.38.Final.jar

Dependency Hierarchy: - fabric-chaincode-shim-1.4.8.jar (Root Library) - fabric-chaincode-protos-1.4.8.jar - grpc-netty-1.23.0.jar - netty-codec-http2-4.1.38.Final.jar - :x: **netty-codec-http-4.1.38.Final.jar** (Vulnerable Library)

Found in HEAD commit: 655167764fcdebd1047d2f63249a7596884c4b03

Found in base branch: main

Vulnerability Details

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `HttpPostRequestDecoder` can be tricked to accumulate data. While the decoder can store items on the disk if configured so, there are no limits to the number of fields the form can have, an attacher can send a chunked post consisting of many small fields that will be accumulated in the `bodyListHttpData` list. The decoder cumulates bytes in the `undecodedChunk` buffer until it can decode a field, this field can cumulate data without limits. This vulnerability is fixed in 4.1.108.Final.

Publish Date: 2024-03-25

URL: CVE-2024-29025

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-29025

Release Date: 2024-03-25

Fix Resolution (io.netty:netty-codec-http): 4.1.108.Final

Direct dependency fix Resolution (org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim): 2.2.1


Step up your Open Source Security Game with Mend here