Command Injection in Apache Airflow - CVE-2022-40127
Published: November 22, 2022 / Updated: August 2, 2023
Vulnerability identifier: #VU69473
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-40127
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote user to execute arbitrary commands.
The vulnerability exists due to improper input validation in Example Dags. A remote user with access to the UI who can trigger DAGs can pass arbitrary value for the run_id parameter and execute arbitrary commands on the system.
Affected software
Apache Airflow
How to mitigate CVE-2022-40127
Install updates from vendor's website.
Apache Airflow - update to 2.4.0