CVE-2017-12612: Apache Spark - Insecure Deserialization
- Cve: CVE-2017-12612
- Name: Apache Spark - Insecure Deserialization
- 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.
- Impact: Local attackers can execute arbitrary code as the Spark application user, potentially leading to full system compromise.
- Remediation: Update to version 2.2.0 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00734
- Epss percentile: 0.55338
- Assignee: [email protected]
- Published at: 2017-09-13T16:29:00Z
- Age in days: 3359
- Modified at: 2026-06-17T01:03:37Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12612
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E | nvd | Mailing List, Vendor Advisory |
| http://www.securityfocus.com/bid/100823 | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:spark | = 2.1.1, = 2.1.0, = 2.0.2, = 2.0.1, = 2.0.0, = 1.6.3, = 1.6.2, = 1.6.1, = 1.6.0 | no | nvd | /v1/products/apache/spark |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/spark | product | yes | /v1/repositories/apache/spark |
Index
- Repositories: 91
- Repositories high signal: 45
- Packages: 2
Exploitation
- Authentication required: yes
- Exposed hosts: 609
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports