CVE-2018-8024 · apache
CVE-2018-8024
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
Published 2018-07-12, last changed 2026-06-17. Weakness: CWE-200.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| nuclei | scan-template | CVE-2018-8024 |
How to fix
Upgrade to a fixed version: org.apache.spark:spark-core_2.10 2.1.3, 2.2.2 (Maven); org.apache.spark:spark-core_2.11 2.1.3, 2.2.2, 2.3.1 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2018-07-12 | Published |
| 2019-03-14 | Package advisory GHSA-8cw6-5qvp-q3wj |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 5.82% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8cw6-5qvp-q3wj | org.apache.spark:spark-core_2.10 (Maven) | 2.1.3 |
| GHSA-8cw6-5qvp-q3wj | org.apache.spark:spark-core_2.10 (Maven) | 2.2.2 |
| GHSA-8cw6-5qvp-q3wj | org.apache.spark:spark-core_2.11 (Maven) | 2.1.3 |
| GHSA-8cw6-5qvp-q3wj | org.apache.spark:spark-core_2.11 (Maven) | 2.2.2 |
| GHSA-8cw6-5qvp-q3wj | org.apache.spark:spark-core_2.11 (Maven) | 2.3.1 |
Also known as: GHSA-8cw6-5qvp-q3wj
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-54920 | 2026-03-16 | 8.8 | Apache Spark: Spark History Server Code Execution Vulnerability |
| CVE-2022-31777 | 2022-11-01 | 5.4 | Apache Spark XSS vulnerability in log viewer UI Javascript |
| CVE-2018-17190 | 2018-11-19 | 9.8 | same package: org.apache.spark:spark-core_2.10 (Maven) |
| CVE-2018-11804 | 2018-10-24 | 7.5 | same package: org.apache.spark:spark-core_2.10 (Maven) |
| CVE-2018-11770 | 2018-08-13 | 4.2 | same package: org.apache.spark:spark-core_2.10 (Maven) |
| CVE-2018-1334 | 2018-07-12 | 4.7 | same package: org.apache.spark:spark-core_2.10 (Maven) |
| CVE-2017-12612 | 2017-09-13 | 7.8 | same package: org.apache.spark:spark-core_2.10 (Maven) |
| CVE-2017-7678 | 2017-07-12 | 6.1 | same package: org.apache.spark:spark-core_2.10 (Maven) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-8024, or call /api/v1/vulnerabilities/CVE-2018-8024. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.