CVE-2017-12612 Apache Spark
| Affected software | Apache Spark |
|---|---|
| Severity | 7.8 High CVSS 3.0 2 scores |
| Fixed in | 2.1.2 |
| Weakness | Deserialization of untrusted data (CWE-502) |
| Published | 13 Sep 2017 |
| Updated | 17 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.
Exploitation status
- 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
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review automated Inferred
- Record active
| 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.
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
CVSS
7.8 HIGH v3.0CVSS: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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
Timeline
Timeline
| Published | 2017-09-13 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |