Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.2
Fix Suggestion:
Update to version 3.2.2
org.apache.spark:spark-core_2.13 (JAVA):
Affected version(s) =3.3.0 <3.3.1
Fix Suggestion:
Update to version 3.3.1
org.apache.spark:spark-core_2.12 (JAVA):
Affected version(s) >=3.3.0 <3.3.1
Fix Suggestion:
Update to version 3.3.1
org.apache.spark:spark-core_2.13 (JAVA):
Affected version(s) >=3.2.0 <3.2.2
Fix Suggestion:
Update to version 3.2.2
pyspark (PYTHON):
Affected version(s) =3.3.0 <3.3.1
Fix Suggestion:
Update to version 3.3.1
pyspark (PYTHON):
Affected version(s) >=2.1.1 <3.2.2
Fix Suggestion:
Update to version 3.2.2
Do you need more information?
Contact Us
CVSS 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