CVE-2017-12612Apache Spark
High 7.8
Follow: this CVE · Apache · Apache Spark We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Spark.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | spark | 1.6.0 |
| apache | spark | 1.6.1 |
| apache | spark | 1.6.2 |
| apache | spark | 1.6.3 |
| apache | spark | 2.0.0 |
| apache | spark | 2.0.1 |
| apache | spark | 2.0.2 |
| apache | spark | 2.1.0 |
| apache | spark | 2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- mail-archives.apache.org Mailing List Vendor Advisory