CVE-2020-9480: Improper Authentication in Apache Spark
CVE-2020-9480 · Severity: low · CVSS 3.1 · Published 2020-06-23
In Apache Spark 2.4.5 and earlier, 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).
Yes. org.apache.spark:spark-parent_2.11 (Maven): upgrade to 2.4.6 or later; pyspark (PyPI): upgrade to 2.4.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-9480?
Check whether you run org.apache.spark:spark-parent_2.11 (Maven) or pyspark (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.spark:spark-parent_2.11 (Maven): upgrade to 2.4.6 or later
# set org.apache.spark:spark-parent_2.11 to 2.4.6 in your pom.xml or build.gradle