CVE-2018-11770

Public Exploit

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'.

Category

4.2
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 86.98% Top 5%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Spark
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2018-11770?
CVE-2018-11770 has been scored as a medium severity vulnerability.
How to fix CVE-2018-11770?
To fix CVE-2018-11770, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-11770 being actively exploited in the wild?
It is possible that CVE-2018-11770 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~87% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-11770?
CVE-2018-11770 affects Apache Software Foundation Apache Spark.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.