swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

CVE-2021-37136 (High) detected in netty-codec-4.1.8.Final.jar, netty-codec-4.0.42.Final.jar

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

CVE-2021-37136 - High Severity Vulnerability

Vulnerable Libraries - netty-codec-4.1.8.Final.jar, netty-codec-4.0.42.Final.jar

netty-codec-4.1.8.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: /samples/client/petstore/java/vertx/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.8.Final/1bd0a2d032e5c7fc3f42c1b483d0f4c57eb516a3/netty-codec-4.1.8.Final.jar

Dependency Hierarchy:

  • vertx-web-client-3.4.2.jar (Root Library)
    • vertx-core-3.4.2.jar
      • netty-codec-http-4.1.8.Final.jar
        • :x: netty-codec-4.1.8.Final.jar (Vulnerable Library)
netty-codec-4.0.42.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: /samples/client/petstore/java/retrofit2-play25/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.0.42.Final/2bc87beea47a038c01e746cdc25650e88bfad8e/netty-codec-4.0.42.Final.jar

Dependency Hierarchy:

  • play-java-ws_2.11-2.5.14.jar (Root Library)
    • async-http-client-2.0.24.jar
      • netty-codec-http-4.0.42.Final.jar
        • :x: netty-codec-4.0.42.Final.jar (Vulnerable Library)

Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed

Found in base branches: 3.0.0, master

Vulnerability Details

The Bzip2 decompression decoder function doesn't allow setting size restrictions on the decompressed output data (which affects the allocation size used during decompression). All users of Bzip2Decoder are affected. The malicious input can trigger an OOME and so a DoS attack

Publish Date: 2021-10-19

URL: CVE-2021-37136

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/netty/netty/security/advisories/GHSA-grg4-wf29-r9vv

Release Date: 2021-10-19

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

Direct dependency fix Resolution (io.vertx:vertx-web-client): 3.5.0


  • [ ] Check this box to open an automated fix PR