CVE-2017-7678 · apache
CVE-2017-7678
In Apache Spark before 2.2.0, it is possible for an attacker to take advantage of a user's trust in the server to trick them into visiting a link that points to a shared Spark cluster and submits data including MHTML to the Spark master, or history server. This data, which could contain a script, would then be reflected back to the user and could be evaluated and executed by MS Windows-based clients. It is not an attack on Spark itself, but on the user, who may then execute the script inadvertently when viewing elements of the Spark web UIs.
Published 2017-07-12, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: org.apache.spark:spark-core_2.11 2.2.0 (Maven); org.apache.spark:spark-core_2.10 2.2.0 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2017-07-12 | Published |
| 2018-11-09 | Package advisory GHSA-r34r-f84j-5x4x |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.38% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-r34r-f84j-5x4x | org.apache.spark:spark-core_2.11 (Maven) | 2.2.0 |
| GHSA-r34r-f84j-5x4x | org.apache.spark:spark-core_2.10 (Maven) | 2.2.0 |
Also known as: GHSA-r34r-f84j-5x4x
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-2019-10099 | 2019-08-07 | 7.5 | same package: org.apache.spark:spark-core_2.11 (Maven) |
| CVE-2018-17190 | 2018-11-19 | 9.8 | same package: org.apache.spark:spark-core_2.11 (Maven) |
| CVE-2018-11804 | 2018-10-24 | 7.5 | same package: org.apache.spark:spark-core_2.11 (Maven) |
| CVE-2018-11770 | 2018-08-13 | 4.2 | same package: org.apache.spark:spark-core_2.11 (Maven) |
| CVE-2018-8024 | 2018-07-12 | 5.4 | same package: org.apache.spark:spark-core_2.11 (Maven) |
| CVE-2018-1334 | 2018-07-12 | 4.7 | same package: org.apache.spark:spark-core_2.11 (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-2017-7678, or call /api/v1/vulnerabilities/CVE-2017-7678. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.