Remote Code Execution (RCE) Affecting org.apache.spark:spark-network-shuffle_2.11 package, versions [,1.4.0)


0.0
critical
  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-JAVA-ORGAPACHESPARK-573171

  • published

    24 Jun 2020

  • disclosed

    24 Jun 2020

  • credit

    Ayoub Elaassal

How to fix?

Upgrade org.apache.spark:spark-network-shuffle_2.11 to version 1.4.0 or higher.

Overview

org.apache.spark:spark-network-shuffle_2.11 is an open-source distributed general-purpose cluster-computing framework.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). A standalone resource manager's master may be configured to require authentication (spark.authenticate) via a shared secret. When enabled, however, a specially-crafted RPC to the master can succeed in starting an application's resources on the Spark cluster, even without the shared key. This can be leveraged to execute shell commands on the host machine. This does not affect Spark clusters using other resource managers (YARN, Mesos, etc).