CVE-2017-7678Apache Spark
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Spark We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jul 12, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spark.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.spark:spark-core_2.10 |
< 2.2.0 |
2.2.0 |
— |
| Maven | org.apache.spark:spark-core_2.11 |
< 2.2.0 |
2.2.0 |
— |
Per OSV / GitHub Advisories (GHSA-r34r-f84j-5x4x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | spark | ≤ 2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- apache-spark-developers-list.1001551.n3.nabble.com Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry