CVE-2018-11770
org.apache.spark:spark-core_2.10 and org.apache.spark:spark-core_2.11 Improper Authentication vulnerability
Also known as GHSA-w4r4-65mg-45x2
Mitigation
- Upgrade Apache Spark to 2.4.0 or later.
Who should check
- Projects that depend on Maven package org.apache.spark:spark-core_2.11 (>= 1.0.0, <= 2.3.2)
- Projects that depend on Maven package org.apache.spark:spark-core_2.10 (>= 1.0.0, <= 2.2.2)
- Anyone running Apache Software Foundation Apache Spark >= 1.3.0, < 2.4.0
Vulnerability facts
- Affected
- org.apache.spark:spark-core_2.11 >= 1.0.0, <= 2.3.2; org.apache.spark:spark-core_2.10 >= 1.0.0, <= 2.2.2
- Fixed in
- Apache Software Foundation Apache Spark 2.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 4.2 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 66.07% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-287
- Modified
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'.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.spark:spark-core_2.11 | >= 1.0.0, <= 2.3.2 | — | osv |
| Maven org.apache.spark:spark-core_2.10 | >= 1.0.0, <= 2.2.2 | — | osv |
| Apache Software Foundation Apache Spark | >= 1.3.0, < 2.4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-11770. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-11770.md Affected: org.apache.spark:spark-core_2.11 >= 1.0.0, <= 2.3.2; org.apache.spark:spark-core_2.10 >= 1.0.0, <= 2.2.2 Fixed in: Apache Software Foundation Apache Spark 2.4.0 Steps: 1. Search this machine and project for org.apache.spark:spark-core_2.11 (Maven), org.apache.spark:spark-core_2.10 (Maven), Apache Software Foundation Apache Spark: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485%40%3Cdev.spark.apache.org%3E
- http://www.securityfocus.com/bid/105097
- https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E
- https://web.archive.org/web/20200227114942/http://www.securityfocus.com/bid/105097
FAQ
Is CVE-2018-11770 being exploited?
There is no confirmed exploitation: CVE-2018-11770 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 66.07% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-11770?
Medium: CVSS 4.2 (v3.1, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2018-11770?
org.apache.spark:spark-core_2.11 >= 1.0.0, <= 2.3.2; org.apache.spark:spark-core_2.10 >= 1.0.0, <= 2.2.2.
Is there a fix for CVE-2018-11770?
Yes. Fixed in Apache Software Foundation Apache Spark 2.4.0. Upgrade Apache Spark to 2.4.0 or later.
How do I check if I'm affected by CVE-2018-11770?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.