Critical

Remote Code Execution in spark-core

  • Disclosed: 21.11.2018
  • Updated: 11.10.2026 12:21

In all versions of Apache Spark, its standalone resource manager accepts code to execute on a 'master' host, that then runs that code on 'worker' hosts. The master itself does not, by design, execute user code. A specially-crafted request to the master can, however, cause the master to execute code too. Note that this does not affect standalone clusters with authentication enabled. While the master host typically has less outbound access to other resources than a worker, the execution of code on the master is nevertheless unexpected.

Mitigation

Enable authentication on any Spark standalone cluster that is not otherwise secured from unwanted access, for example by network-level restrictions. Use spark.authenticate and related security properties described at https://spark.apache.org/docs/latest/security.html

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.spark:spark-core_2.10 all versions no fix
Java / Kotlin (Maven) org.apache.spark:spark-core_2.11 all versions no fix

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-phg2-9c5g-m4q7 - CC BY 4.0

Vulnerability history: org.apache.spark:spark-core_2.10

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

All (9) in the archive
Total entries
9
First → latest
09.2017 03.2026
Without a fix
5
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3
  • Medium 5

Disclosures per year

  1. 2017: 1
  2. 2018: 4
  3. 2019: 1
  4. 2020: 0
  5. 2021: 0
  6. 2022: 2
  7. 2023: 0
  8. 2024: 0
  9. 2025: 0
  10. 2026: 1
Severity:
  1. High · 8.8 CVE-2025-54920 <= 2.2.3 no fix
  2. High · 7.5 CVE-2018-11804 >= 1.3.0, <= 2.1.3 no fix
  3. Remote Code Execution in spark-core this entry
    Critical · 9.8 CVE-2018-17190 all versions no fix
  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.