In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.
"https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2018-25.yaml"