High

Apache Spark Deserialization of Untrusted Data vulnerability

  • Disclosed: 13.09.2017
  • Updated: 11.10.2026 12:18

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.1.2, 2.2.0 or later.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.spark:spark-core_2.10 < 2.1.2 2.1.2
Java / Kotlin (Maven) org.apache.spark:spark-core_2.11 < 2.1.2 2.1.2
Python (PyPI) pyspark < 2.1.2 2.1.2

References

CVSS score 7.8/10
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-502
Platform
Java / Kotlin (Maven), Python (PyPI)
Package
org.apache.spark:spark-core_2.10, org.apache.spark:spark-core_2.11, pyspark
Disclosed
13.09.2017
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2017-147 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-8rhc-48pp-52gr - CC BY 4.0

Vulnerability history: org.apache.spark:spark-core_2.11

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
09.2017 03.2026
Without a fix
5
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 4
  • Medium 5

Disclosures per year

  1. 2017: 1
  2. 2018: 4
  3. 2019: 2
  4. 2020: 0
  5. 2021: 0
  6. 2022: 2
  7. 2023: 0
  8. 2024: 0
  9. 2025: 0
  10. 2026: 1
Severity:
  1. High · 8.8 CVE-2025-54920 <= 2.4.8 no fix
  2. High · 7.5 CVE-2018-11804 >= 1.3.0, <= 2.1.3 no fix
  3. Critical · 9.8 CVE-2018-17190 all versions no fix
  4. Apache Spark Deserialization of Untrusted Data vulnerability this entry
    High · 7.8 CVE-2017-12612 < 2.1.2 2.1.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.