{"id":"CVE-2017-12612","published":"2017-09-13T16:00:00Z","modified":"2024-08-05T18:43:56Z","title":"In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00734,"percentile":0.55318,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/100823","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":11.06}]},"affected":[{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.11","vulnerableRanges":["<2.1.2"],"patched":["2.1.2"],"from":["GHSA-8rhc-48pp-52gr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.10","vulnerableRanges":["<2.1.2"],"patched":["2.1.2"],"from":["GHSA-8rhc-48pp-52gr"],"provenance":"source"},{"ecosystem":"PyPI","package":"pyspark","vulnerableRanges":["<2.1.2"],"patched":["2.1.2"],"from":["GHSA-8rhc-48pp-52gr","PYSEC-2017-147"],"provenance":"source"}],"summary":{"text":"Apache Spark's launcher API, in versions 1.6.0 through 2.1.1, performs unsafe deserialization of data received on its socket, affecting applications launched programmatically through that API (not those run via spark-submit or spark-shell). An attacker with access to any user account on the local machine could exploit this to execute arbitrary code as the user running the Spark application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:10Z"},"euvd":{"id":"EUVD-2017-0107","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12612","published":"2017-09-13","fixed":"2.1.2","kev":false},{"cve":"CVE-2018-1334","published":"2018-07-12","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2017-12612","to":"CVE-2018-1334","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pyspark","fromFixed":"2.1.2","toFixed":"2.1.3","daysApart":302},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.11","fromFixed":"2.1.2","toFixed":"2.1.3","daysApart":302}]}},{"cve":"CVE-2018-11760","published":"2019-02-04","fixed":"2.3.2","kev":false},{"cve":"CVE-2019-10099","published":"2019-08-07","fixed":"2.3.3","kev":false}],"package":"PyPI:pyspark"}}