WaratekVRT Sign in

CVE-2017-12612 Apache Spark

Affected softwareApache Spark
Severity7.8 High CVSS 3.0 2 scores
Fixed in2.1.2
WeaknessDeserialization of untrusted data (CWE-502)
Published13 Sep 2017
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.73% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2017-12612

Upgrade Apache Spark to 2.1.2 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.8 HIGH v3.0 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 7.8 HIGH CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.2 none AV:L/AC:L/Au:N/C:C/I:C/A:C NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.spark:spark-core_2.11 0 2.1.2 unbounded
org.apache.spark:spark-core_2.10 0 2.1.2 unbounded

Products and versions

3 products, 11 version entries
SourceVendorProductSchemeAffected versions
nvd apache spark generic 1.6.0 · 1.6.1 · 1.6.2 · 1.6.3 · 2.0.0 · 2.0.1 · 2.0.2 · 2.1.0 · 2.1.1
osv org.apache.spark spark-core_2.10 generic < 2.1.2
osv org.apache.spark spark-core_2.11 generic < 2.1.2

References

URLTags
https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2017-147.yaml WEB
https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E WEB
http://www.securityfocus.com/bid/100823 Third Party Advisory, VDB Entry

Timeline

Published2017-09-13By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.