CVE-2017-12612
CVE-2017-12612 is a high-severity vulnerability in Apache Spark with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-502.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 7.2
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-502
- Affected product: Apache Spark
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2017-12612?
- 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.
- How severe is CVE-2017-12612?
- CVE-2017-12612 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-12612 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-12612?
- CVE-2017-12612 primarily affects Apache Spark. In total, 9 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2017-12612?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2017-12612 published?
- CVE-2017-12612 was published on 2017-09-13 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/100823
- https://mail-archives.apache.org/mod_mbox/spark-dev/201709.mbox/%3CCAEccTyy-1yYuhdNgkBUg0sr9NeaZSrBKkBePdTNZbxXZNTAR-g%40mail.gmail.com%3E
Affected products (9)
- cpe:2.3:a:apache:spark:1.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:1.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:1.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:1.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:2.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:2.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:2.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:spark:2.1.1:*:*:*:*:*:*:*
More vulnerabilities in Apache Spark
- CVE-2020-9480 — Critical (CVSS 9.8): In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication…
- CVE-2018-17190 — Critical (CVSS 9.8): In all versions of Apache Spark, its standalone resource manager accepts code to execute on a 'master' host, that then…
- CVE-2019-20445 — Critical (CVSS 9.1): HttpObjectDecoder.java in Netty before 4.1.44 allows a Content-Length header to be accompanied by a second…
- CVE-2025-54920 — High (CVSS 8.8): This issue affects Apache Spark: before 3.5.7 and 4.0.1. Users are recommended to upgrade to version 3.5.7 or 4.0.1 and…
- CVE-2023-32007 — High (CVSS 8.8): ** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option…
- CVE-2022-33891 — High (CVSS 8.8): The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an…
All CVEs affecting Apache Spark →
Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities
- CVE-2026-41104 — Critical (CVSS 10.0): Deserialization of untrusted data in Microsoft Planetary Computer Pro allows an unauthorized attacker to disclose…
- CVE-2026-43633 — Critical (CVSS 10.0): HestiaCP versions 1.9.0 through 1.9.4 contain a deserialization vulnerability in the web terminal component caused by a…
- CVE-2026-33819 — Critical (CVSS 10.0): Deserialization of untrusted data in Microsoft Bing allows an unauthorized attacker to execute code over a network.
- CVE-2026-20131 — Critical (CVSS 10.0): A vulnerability in the web-based management interface of Cisco Secure Firewall Management Center (FMC) Software could…
- CVE-2026-25632 — Critical (CVSS 10.0): EPyT-Flow is a Python package designed for the easy generation of hydraulic and water quality scenario data of water…
- CVE-2025-14931 — Critical (CVSS 10.0): Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability.…
Browse all CWE-502 (Deserialization of Untrusted Data) vulnerabilities →