CVE-2022-31777
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No vendor mitigations ingested yet for this CVE. The mitigation-content worker queues fetches as references arrive — check back in a few minutes, or see the references list below.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.spark:spark-core_2.10 | | |
| Maven | org.apache.spark:spark-core_2.11 | | |
| PyPI | pyspark | <3.2.2 | 3.2.2 |
| Maven | org.apache.spark:spark-core_2.13 | >=3.3.0,<3.3.1 | 3.3.1 |
| Maven | org.apache.spark:spark-core_2.12 | <3.2.2 | 3.2.2 |
| Maven | org.apache.spark:spark-core_2.13 | <3.2.2 | 3.2.2 |
| PyPI | pyspark | >=3.3.0,<3.3.1 | 3.3.1 |
| Maven | org.apache.spark:spark-core_2.9.3 | | |
| Maven | org.apache.spark:spark-core_2.12 | >=3.3.0,<3.3.1 | 3.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-31777
- https://github.com/apache/spark/commit/ad90195de56688ce0898691eb9d04297ab0871ad
- https://github.com/apache/spark
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-42976.yaml
- https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q
- https://web.archive.org/web/20220728105026/https://issues.apache.org/jira/browse/SPARK-39505
- http://www.openwall.com/lists/oss-security/2022/11/01/14
Verify integrity in audit chain (admin only). AS-IS.