Advisory

PYSEC-2022-42976

Also known as: BIT-spark-2022-31777, CVE-2022-31777, GHSA-43xg-8wmj-cw8h

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-11-01 16:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

pyspark

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.2 (ecosystem)

Fixed versions

3.2.2

Fix

  • Fixed version 3.2.2
    pip install --upgrade pyspark==3.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences