Skip to content

CVE-2021-37136 (High) detected in multiple libraries #249

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-37136 - High Severity Vulnerability

Vulnerable Libraries - netty-codec-4.1.42.Final.jar, netty-all-4.1.49.Final.jar, netty-all-4.0.52.Final.jar, netty-all-4.1.17.Final.jar, netty-all-4.0.23.Final.jar

netty-codec-4.1.42.Final.jar

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

Path to dependency file: /ranger-kafka-plugin-shim/pom.xml

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

Dependency Hierarchy:

  • kafka_2.11-2.4.0.jar (Root Library)
    • zookeeper-3.5.6.jar
      • netty-handler-4.1.42.Final.jar
        • netty-codec-4.1.42.Final.jar (Vulnerable Library)
netty-all-4.1.49.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: /security-admin/pom.xml

Path to vulnerable library: /canner/.m2/repository/io/netty/netty-all/4.1.49.Final/netty-all-4.1.49.Final.jar

Dependency Hierarchy:

  • netty-all-4.1.49.Final.jar (Vulnerable Library)
netty-all-4.0.52.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: /kms/pom.xml

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

Dependency Hierarchy:

  • hadoop-hdfs-3.1.1.jar (Root Library)
    • netty-all-4.0.52.Final.jar (Vulnerable Library)
netty-all-4.1.17.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: /hive-agent/pom.xml

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

Dependency Hierarchy:

  • hive-service-3.1.2.jar (Root Library)
    • hive-llap-server-3.1.2.jar
      • netty-all-4.1.17.Final.jar (Vulnerable Library)
netty-all-4.0.23.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: /ranger-hbase-plugin-shim/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar

Dependency Hierarchy:

  • hbase-server-2.0.2.jar (Root Library)
    • hadoop-hdfs-2.7.7.jar
      • netty-all-4.0.23.Final.jar (Vulnerable Library)

Found in base branch: 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: GHSA-grg4-wf29-r9vv

Release Date: 2021-10-19

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

Direct dependency fix Resolution (org.apache.kafka:kafka_2.11): 2.4.1

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

Direct dependency fix Resolution (org.apache.hadoop:hadoop-hdfs): 3.1.2

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

Direct dependency fix Resolution (org.apache.hbase:hbase-server): 2.0.3


⛑️ Automatic Remediation is available for this issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions