Description
In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket. This makes applications launched programmatically using the launcher API potentially vulnerable to arbitrary code execution by an attacker with access to any user account on the local machine. It does not affect apps run by spark-submit or spark-shell. The attacker would be able to execute code as the user that ran the Spark application. Users are encouraged to update to version 2.2.0 or later.
Remediation
References
http://www.securityfocus.com/bid/100823
https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E
Related Vulnerabilities
CVE-2019-5417 Vulnerability in npm package serve
CVE-2022-21718 Vulnerability in maven package org.webjars.npm:electron
CVE-2019-16728 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2021-23425 Vulnerability in npm package trim-off-newlines
CVE-2017-3162 Vulnerability in maven package org.apache.hadoop:hadoop-hdfs