Medium

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 t

  • Disclosed: 12.07.2018
  • Updated: 11.10.2026 12:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.spark:spark-core_2.10 >= 1.0.0, < 2.1.3, >= 2.2.0, < 2.2.2 2.1.3, 2.2.2
Java / Kotlin (Maven) org.apache.spark:spark-core_2.11 >= 1.0.0, < 2.1.3, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.1 2.1.3, 2.2.2, 2.3.1
Python (PyPI) pyspark >= 2.2.0, < 2.2.2, < 2.1.3 2.2.2, 2.1.3

References

CVSS score 4.7/10
CVSS vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-200
Platform
Java / Kotlin (Maven), Python (PyPI)
Package
org.apache.spark:spark-core_2.10, org.apache.spark:spark-core_2.11, pyspark
Disclosed
12.07.2018
Updated
11.10.2026 12:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-6mqq-8r44-vmjc - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2018-25 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: pyspark

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
09.2017 09.2026
Without a fix
0
Exploited in attacks
1

Severity breakdown

  • Critical 2
  • High 5
  • Medium 5

Disclosures per year

  1. 2017: 1
  2. 2018: 1
  3. 2019: 2
  4. 2020: 1
  5. 2021: 0
  6. 2022: 3
  7. 2023: 2
  8. 2024: 0
  9. 2025: 1
  10. 2026: 1
Severity:
  1. High · 8.8 Exploited in attacks CVE-2022-33891 < 3.1.3, >= 3.2.0, < 3.2.2 3.1.3, 3.2.2
  2. High · 7.5 CVE-2021-38296 < 3.1.3 3.1.3
  3. 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 t this entry
    Medium · 4.7 CVE-2018-1334 >= 2.2.0, < 2.2.2, < 2.1.3 2.2.2, 2.1.3
  4. High · 7.8 CVE-2017-12612 < 2.1.2 2.1.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.