Lucene search

K
osvGoogleOSV:GHSA-WGX7-JWWM-CGJV
HistoryFeb 10, 2022 - 11:05 p.m.

Improper Authentication in Apache Spark

2022-02-1023:05:20
Google
osv.dev
12
apache spark
authentication
standalone resource manager
shared secret
rpc
shell commands

EPSS

0.03

Percentile

90.9%

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).