CVE-2017-7678: Apache Spark Core MHTML Injection Vulnerability
Summary
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... Affects org.apache.spark:spark-core_2.11 versions < 2.2.0. Fixed in 2.2.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Spark is an open-source distributed computing system used for big data processing and analytics. The spark-core package is a fundamental component of Apache Spark, providing the core functionality and APIs for Spark applications. This vulnerability affects the spark-core_2.10 and spark-core_2.11 versions of the package.
Vulnerability Detail
The vulnerability in Apache Spark allows an attacker to exploit a user's trust in the server by tricking them into visiting a link that points to a shared Spark cluster. The attacker can submit data, including MHTML, to the Spark master or history server. This data, which may contain a script, is then reflected back to the user and can be executed by MS Windows-based clients. It is important to note that this is not an attack on Spark itself, but rather on the user who may inadvertently execute the script when viewing elements of the Spark web UIs.
How To Fix
Minimum fixed version
2.2.0
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The Apache Spark Core MHTML Injection Vulnerability allows attackers to execute arbitrary scripts on MS Windows-based clients through the Spark web UIs. It is crucial to upgrade to Apache Spark version 2.2.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.spark:spark-core_2.11 →
FAQ
Apache Spark is an open-source distributed computing system used for big data processing and analytics.
The spark-core_2.10 and spark-core_2.11 versions of Apache Spark are affected.
This vulnerability allows an attacker to execute arbitrary scripts on MS Windows-based clients through the Spark web UIs.
Yes, upgrading to Apache Spark version 2.2.0 or later will fix this vulnerability.
No specific workaround has been mentioned for this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.spark:spark-core_2.11.