Command Injection in Apache Airflow - CVE-2022-40127
Published: November 22, 2022 / Updated: August 2, 2023
Vulnerability identifier: #VU69473
CSH Severity: Medium
CVSS v4.0: 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/E:P/U:Green
CVE-ID: CVE-2022-40127
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vendor: Apache Foundation
Affected software:
Apache Airflow
Apache Airflow
Detailed vulnerability description
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.
How to mitigate CVE-2022-40127
Install updates from vendor's website.