Live threats

All CVEs / Apache

CVE-2018-1334Apache Spark

Medium 4.7

Priority
28
CVSS 3.0
4.7
EPSS
0.5%
probability of exploitation in 30 days · percentile 36
Auth required
Yes
Published
Jul 12, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spark.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.spark:spark-core_2.10 ≥ 1.0.0 < 2.1.3 2.1.3 —
Maven org.apache.spark:spark-core_2.10 ≥ 2.2.0 < 2.2.2 2.2.2 —
Maven org.apache.spark:spark-core_2.11 ≥ 1.0.0 < 2.1.3 2.1.3 —
Maven org.apache.spark:spark-core_2.11 ≥ 2.2.0 < 2.2.2 2.2.2 —
Maven org.apache.spark:spark-core_2.11 ≥ 2.3.0 < 2.3.1 2.3.1 —
PyPI pyspark ≥ 2.2.0 < 2.2.2 2.2.2 pip install "pyspark>=2.2.2"
PyPI pyspark < 2.1.3 2.1.3 pip install "pyspark>=2.1.3"
PyPI pyspark ≥ 2.2.0 < 2.2.2 2.2.2 pip install "pyspark>=2.2.2"
PyPI pyspark < 2.1.3 2.1.3 pip install "pyspark>=2.1.3"

Per OSV / GitHub Advisories (GHSA-6mqq-8r44-vmjc, PYSEC-2018-25). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachespark≤ 2.1.2
apachespark≥ 2.2.0 ≤ 2.2.1
apachespark2.3.0

Official sources

References

Links published by the sources. Open them with care.