Live threats

All CVEs / Apache

CVE-2017-12612Apache Spark

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
0.7%
probability of exploitation in 30 days · percentile 56
Auth required
Yes
Published
Sep 13, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spark.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.spark:spark-core_2.10 < 2.1.2 2.1.2 —
Maven org.apache.spark:spark-core_2.11 < 2.1.2 2.1.2 —
PyPI pyspark < 2.1.2 2.1.2 pip install "pyspark>=2.1.2"
PyPI pyspark < 2.1.2 2.1.2 pip install "pyspark>=2.1.2"

Per OSV / GitHub Advisories (GHSA-8rhc-48pp-52gr, PYSEC-2017-147). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachespark1.6.0
apachespark1.6.1
apachespark1.6.2
apachespark1.6.3
apachespark2.0.0
apachespark2.0.1
apachespark2.0.2
apachespark2.1.0
apachespark2.1.1

Official sources

References

Links published by the sources. Open them with care.