QID 376742
Date Published: 2022-07-25
QID 376742: Apache Spark Shell Command Injection Vulnerability (CVE-2022-33891)
Apache Spark is a unified analytics engine for big data processing, with built-in modules for streaming, SQL, machine learning and graph processing.
The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name
Affected Versions:
Apache Spark 3.0.3 and earlier
Apache Spark 3.1.1 and 3.1.2
Apache Spark 3.2.0 and 3.2.1
QID Detection Logic:
It checks for vulnerable version of Apache Spark by invoking spark-shell --version command.
This vulnerability results in arbitrary shell command execution
- Apache spark -
lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc
CVEs related to QID 376742
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Apache Spark |
|