RCE in Apache Airflow
CVE-2022-41131
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.017 · 77.6th percentile
- Published
- 2022-11-22
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.017, 77.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Airflow
- Apache Apache-Airflow-Providers-Apache-Hive
- Apache Software Foundation Airflow — versions 2.3.0
- Apache Software Foundation Airflow Hive Provider — versions unspecified
Weakness classification (CWE)
References
- github.com/apache/airflow/pull/27647 (Patch, Third Party Advisory)
- lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl (Mailing List, Third Party Advisory, Issue Tracking)