CVE-2022-31777
November 01, 2022
A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI.
Affected Packages
org.apache.spark:spark-core_2.12 (JAVA):
Affected version(s) >=2.4.0 <3.2.2Fix Suggestion:
Update to version 3.2.2org.apache.spark:spark-core_2.13 (JAVA):
Affected version(s) =3.3.0 <3.3.1Fix Suggestion:
Update to version 3.3.1org.apache.spark:spark-core_2.12 (JAVA):
Affected version(s) >=3.3.0 <3.3.1Fix Suggestion:
Update to version 3.3.1org.apache.spark:spark-core_2.13 (JAVA):
Affected version(s) >=3.2.0 <3.2.2Fix Suggestion:
Update to version 3.2.2pyspark (PYTHON):
Affected version(s) =3.3.0 <3.3.1Fix Suggestion:
Update to version 3.3.1pyspark (PYTHON):
Affected version(s) >=2.1.1 <3.2.2Fix Suggestion:
Update to version 3.2.2Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
EPSS
Base Score:
0.13