CVE-2022-31777
Apache Spark vulnerable to Log Injection
5.4
MEDIUM
CVSS 3.1
EPSS 0.18%
Description
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.
How to fix CVE-2022-31777
To remediate CVE-2022-31777, upgrade the affected package to a fixed version below.
- —upgrade to 3.2.2 or later
- —no fix listed
- —no fix listed
- —upgrade to 3.2.2 or later
- —upgrade to 3.2.2 or later
- —no fix listed
- —upgrade to 3.2.2 or later
- —upgrade to 3.2.2 or later
Is CVE-2022-31777 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (8)
- from 0, < 3.2.2, >= 3.3.0, < 3.3.1
- from 0
- from 0
- from 0, < 3.2.2
- from 0, < 3.2.2
- from 0
- from 0, < 3.2.2
- from 0, < 3.2.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |