Skip to content

CVE-2021-37137 (High) detected in netty-codec-4.1.43.Final.jar, netty-codec-4.1.34.Final.jar #227

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-37137 - High Severity Vulnerability

Vulnerable Libraries - netty-codec-4.1.43.Final.jar, netty-codec-4.1.34.Final.jar

netty-codec-4.1.43.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 vulnerable library: /home/wss-scanner/.ivy2/cache/io.netty/netty-codec/jars/netty-codec-4.1.43.Final.jar

Dependency Hierarchy:

  • play-netty-server_2.13-2.8.2.jar (Root Library)
    • netty-reactive-streams-http-2.0.4.jar
      • netty-reactive-streams-2.0.4.jar
        • netty-handler-4.1.43.Final.jar
          • netty-codec-4.1.43.Final.jar (Vulnerable Library)
netty-codec-4.1.34.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 vulnerable library: /home/wss-scanner/.ivy2/cache/io.netty/netty-codec/jars/netty-codec-4.1.34.Final.jar

Dependency Hierarchy:

  • play-netty-server_2.13-2.7.5.jar (Root Library)
    • netty-reactive-streams-http-2.0.3.jar
      • netty-reactive-streams-2.0.3.jar
        • netty-handler-4.1.34.Final.jar
          • netty-codec-4.1.34.Final.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

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: GHSA-9vjp-v76f-g363

Release Date: 2021-10-19

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

Direct dependency fix Resolution (com.typesafe.play:play-netty-server_2.13): 2.8.16

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

Direct dependency fix Resolution (com.typesafe.play:play-netty-server_2.13): 2.8.16

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions