vlaship / spark-streaming

0 stars 0 forks source link

CVE-2021-38296 (High) detected in spark-network-common_2.11-2.2.0.jar #137

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-38296 - High Severity Vulnerability

Vulnerable Library - spark-network-common_2.11-2.2.0.jar

The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers and users.

Library home page: http://spark.apache.org/

Path to dependency file: /build.gradle

Path to vulnerable library: /root/.gradle/caches/modules-2/files-2.1/org.apache.spark/spark-network-common_2.11/2.2.0/3605eb43e8417af5810a6cd69e9f813a4b97ce17/spark-network-common_2.11-2.2.0.jar,/root/.gradle/caches/modules-2/files-2.1/org.apache.spark/spark-network-common_2.11/2.2.0/3605eb43e8417af5810a6cd69e9f813a4b97ce17/spark-network-common_2.11-2.2.0.jar

Dependency Hierarchy: - spark-streaming_2.11-2.2.0.jar (Root Library) - spark-core_2.11-2.2.0.jar - :x: **spark-network-common_2.11-2.2.0.jar** (Vulnerable Library)

Vulnerability Details

Apache Spark supports end-to-end encryption of RPC connections via "spark.authenticate" and "spark.network.crypto.enabled". In versions 3.1.2 and earlier, it uses a bespoke mutual authentication protocol that allows for full encryption key recovery. After an initial interactive attack, this would allow someone to decrypt plaintext traffic offline. Note that this does not affect security mechanisms controlled by "spark.authenticate.enableSaslEncryption", "spark.io.encryption.enabled", "spark.ssl", "spark.ui.strictTransportSecurity". Update to Apache Spark 3.1.3 or later

Publish Date: 2022-03-10

URL: CVE-2021-38296

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: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38296

Release Date: 2022-03-10

Fix Resolution: org.apache.spark:spark-network-common:3.1.3


Step up your Open Source Security Game with Mend here