NetSight
medium5.4

CVE-2022-31777

Apache Spark vulnerable to Log Injection

Impact

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

EcosystemPackageAffectedFixed in
pippyspark< 3.2.23.2.2
mavenorg.apache.spark:spark-core_2.9.3< 3.2.2none recorded
mavenorg.apache.spark:spark-core_2.13< 3.2.23.2.2
mavenorg.apache.spark:spark-core_2.12< 3.2.23.2.2
mavenorg.apache.spark:spark-core_2.11< 3.2.2none recorded
mavenorg.apache.spark:spark-core_2.10< 3.2.2none recorded

Affected products

VendorProductAffected versions
ApacheSpark
before 3.2.2
Version 3.3.0

Weakness classification

References