CVE-2017-7678
MEDIUM 6.1CVSS 3.0Moderate severity vulnerability that affects org.apache.spark:spark-core_2.10 and org.apache.spark:spark-core_2.11
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
- 12 Jul 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-r34r-f84j-5x4x
- Sources
- NVDJSONOSV GHSA-r34r-f84j-5x4xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sparkcpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* |
<= 2.1.1 | |
| OSV | Maven | org.apache.spark:spark-core_2.11 | < 2.2.0 | 2.2.0 |
| OSV | Maven | org.apache.spark:spark-core_2.10 | < 2.2.0 | 2.2.0 |
References
- http://apache-spark-developers-list.1001551.n3.nabble.com/CVE-2017-7678-Apache-Spark-XSS-web-UI-MHTML-vulnerability-td21947.html · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/99603 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-7678 · ADVISORY
- https://github.com/advisories/GHSA-r34r-f84j-5x4x · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 12 Jul 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Nov 2018)