CVE-2022-40954
Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Spark Provider, Apache Airflow allows an attacker to read arbtrary files in the task execution context, without write access to DAG files. This issue affects Spark Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Spark Provider is installed (Spark Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Spark Provider version 4.0.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Spark Provider installed).
Neutralización inadecuada de elementos especiales utilizados en una vulnerabilidad de comando del sistema operativo ('inyección de comando del sistema operativo') en Apache Airflow Spark Provider. Apache Airflow permite a un atacante leer archivos arbitrarios en el contexto de ejecución de la tarea, sin acceso de escritura a los archivos DAG. Este problema afecta a las versiones del proveedor Spark anteriores a la 4.0.0. También afecta cualquier versión de Apache Airflow anterior a la 2.3.0 en caso de que Spark Provider esté instalado (Spark Provider 4.0.0 solo se puede instalar para Airflow 2.3.0+). Tenga en cuenta que debe instalar manualmente Spark Provider versión 4.0.0 para eliminar la vulnerabilidad además de la versión Airflow 2.3.0+ que tiene instalada una versión inferior de Spark Provider).
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-09-19 CVE Reserved
- 2022-11-22 CVE Published
- 2024-06-14 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/apache/airflow/pull/27646 | 2022-11-28 |
URL | Date | SRC |
---|---|---|
https://lists.apache.org/thread/0tmdlnmjs5t4gsx5fy73tb6zd3jztq45 | 2022-11-28 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Apache Search vendor "Apache" | Airflow Search vendor "Apache" for product "Airflow" | < 2.3.0 Search vendor "Apache" for product "Airflow" and version " < 2.3.0" | - |
Affected
| ||||||
Apache Search vendor "Apache" | Apache-airflow-providers-apache-spark Search vendor "Apache" for product "Apache-airflow-providers-apache-spark" | < 4.0.0 Search vendor "Apache" for product "Apache-airflow-providers-apache-spark" and version " < 4.0.0" | - |
Affected
|