Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS00M3hnLTh3bWotY3c4aM4AAvn5

Apache Spark vulnerable to Log Injection

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.

Permalink: https://github.com/advisories/GHSA-43xg-8wmj-cw8h
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00M3hnLTh3bWotY3c4aM4AAvn5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: about 2 months ago


CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS Percentage: 0.00071
EPSS Percentile: 0.32502

Identifiers: GHSA-43xg-8wmj-cw8h, CVE-2022-31777
References: Repository: https://github.com/apache/spark
Blast Radius: 21.5

Affected Packages

pypi:pyspark
Dependent packages: 588
Dependent repositories: 6,227
Downloads: 31,213,937 last month
Affected Version Ranges: = 3.3.0, < 3.2.2
Fixed in: 3.3.1, 3.2.2
All affected versions: 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.3.0
All unaffected versions: 3.2.2, 3.2.3, 3.2.4, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.5.0, 3.5.1, 3.5.2, 3.5.3
maven:org.apache.spark:spark-core
Affected Version Ranges: = 3.3.0, < 3.2.2
Fixed in: 3.3.1, 3.2.2