Cross-site Scripting (XSS) Affecting pyspark package, versions [,2.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYSPARK-3021135
  • published31 Aug 2017
  • disclosed11 Jul 2017
  • creditMike Kasper, Nicholas Marion

Introduced: 11 Jul 2017

CVE-2017-7678  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade org.apache.spark:spark-core to version 2.2.0 or higher.

Overview

org.apache.spark:spark-core is a fast and general cluster computing system for Big Data.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks.

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.

Details

<>

References

CVSS Scores

version 3.1