CVE-2018-11770: apache software foundation apache spark Improper Authentication
Vulnerability summary
CVE-2018-11770 is a medium (CVSS 4.9) Improper Authentication vulnerability in apache software foundation apache spark. EPSS estimates a 65.83% chance of exploitation in the next 30 days, higher than 99.2% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 13-08-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
65.83%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 65.83% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (spark.apache.org)
Maturity: unknown
Apache Spark Unauthenticated Command Execution
exploit/linux/http/spark_unauth_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Org.apache.spark2 products
- spark-core_2.10≥ 1.0.0, ≤ 2.2.2
- spark-core_2.11≥ 1.0.0, ≤ 2.3.2
Apache1 product
- spark≥ 1.3.0, < 2.4.0
Apache software foundation1 product
- apache spark≥ 1.3.0, < 2.4.0
3 vendors · 4 products