Medium severity · published Aug 13, 2018
CVE-2018-11770
From version 1.3.0 onward, Apache Spark's standalone master exposes a REST API for job submission, in addition to the submission mechanism used by spark-submit
4.2
CVSS
65.8%
EPSS
No
On KEV
Description
From version 1.3.0 onward, Apache Spark's 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. This REST API is also used by Mesos, when set up to run in cluster mode (i.e., when also running MesosClusterDispatcher), for job submission. Future versions of Spark will improve documentation on these points, and prohibit setting 'spark.authenticate.secret' when running the REST APIs, to make this clear. Future versions will also disable the REST API by default in the standalone master by changing the default value of 'spark.master.rest.enabled' to 'false'.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)65.8% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Apache Spark · Apache Software Foundation
1.3.0 before 2.4.0 · source: vendor
SP
Spark · Apache
1.3.0 before 2.4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-11770
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-11770
Broken Link
http://www.securityfocus.com/bid/105097
Mailing List
https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E
Exploit
https://spark.apache.org/security.html#CVE-2018-11770
More from Apache Spark
8.8
CVE-2022-33891
Apache Spark shell command injection vulnerability via Spark UI
6.1
CVE-2026-32773
Apache Spark: XSS Vulnerability in Spark Web 3.5.4
5.9
CVE-2024-23945
Apache Hive, Apache Spark, Apache Spark: CookieSigner exposes the correct signature when message verification fails
5.5
CVE-2018-11760
When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application
5.4
CVE-2022-31777
Apache Spark XSS vulnerability in log viewer UI Javascript
