# CVE-2018-1334: Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark

Source: https://junglewise.ai/threats/cve-2018-1334-exposure-of-sensitive-information-to-an-unauthorized-actor-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-07-12  
License: CC BY 4.0 with a link back

CVE-2018-1334 · Severity: low · CVSS 3 · Published 2018-07-12

In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.

Technologies: [org.apache.spark:spark-core_2.10 (Maven)](https://junglewise.ai/threats/technologies/org-apache-spark-spark-core-2-10), [org.apache.spark:spark-core_2.11 (Maven)](https://junglewise.ai/threats/technologies/org-apache-spark-spark-core-2-11), [pyspark (PyPI)](https://junglewise.ai/threats/technologies/pyspark). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2018-1334 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1334 being exploited in the wild.

**How severe is CVE-2018-1334?** Low severity, with a CVSS score of 3, published 12 July 2018.

**Which products and versions are affected?** org.apache.spark:spark-core_2.10 (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.3; org.apache.spark:spark-core_2.11 (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.3; pyspark (PyPI) ECOSYSTEM:introduced=2.2.0,fixed=2.2.2, ECOSYSTEM:introduced=2.2.0,fixed=2.2.2,introduced=0,fixed=2.1.3.

**Is there a fix for CVE-2018-1334?** Yes. org.apache.spark:spark-core_2.10 (Maven): upgrade to 2.1.3 or later; org.apache.spark:spark-core_2.11 (Maven): upgrade to 2.1.3 or later; pyspark (PyPI): upgrade to 2.1.3, 2.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1334?** Check whether you run org.apache.spark:spark-core_2.10 (Maven), org.apache.spark:spark-core_2.11 (Maven) or pyspark (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.spark:spark-core_2.10 (Maven): upgrade to 2.1.3 or later

  ```sh
  # set org.apache.spark:spark-core_2.10 to 2.1.3 in your pom.xml or build.gradle
  ```

- org.apache.spark:spark-core_2.11 (Maven): upgrade to 2.1.3 or later

  ```sh
  # set org.apache.spark:spark-core_2.11 to 2.1.3 in your pom.xml or build.gradle
  ```

- pyspark (PyPI): upgrade to 2.1.3, 2.2.2 or later

  ```sh
  pip install "pyspark>=2.2.2"
  ```


## Affected products

- org.apache.spark:spark-core_2.10 (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.3
- org.apache.spark:spark-core_2.11 (Maven) ECOSYSTEM:introduced=1.0.0,fixed=2.1.3
- pyspark (PyPI) ECOSYSTEM:introduced=2.2.0,fixed=2.2.2, ECOSYSTEM:introduced=2.2.0,fixed=2.2.2,introduced=0,fixed=2.1.3

## Identifiers

- CVE-2018-1334
- GHSA-6mqq-8r44-vmjc
- PYSEC-2018-25

## Related threats

- [Apache Spark History Server XSS in job names](https://junglewise.ai/threats/cve-2026-32773-apache-spark-history-server-xss-in-job-names)
- [Apache Spark: Spark History Server Code Execution Vulnerability](https://junglewise.ai/threats/cve-2025-54920-apache-spark-spark-history-server-code-execution-vulnerability)
- [Apache Spark Inadequate Encryption Strength in RPC Communication](https://junglewise.ai/threats/cve-2025-55039-apache-spark-inadequate-encryption-strength-in-rpc-communication)
- [Apache Spark UI vulnerable to Command Injection](https://junglewise.ai/threats/cve-2023-32007-apache-spark-ui-vulnerable-to-command-injection)
- [Apache Spark privilege escalation via classpath injection](https://junglewise.ai/threats/cve-2023-22946-apache-spark-privilege-escalation-via-classpath-injection)
