#VU69473 Command Injection in Apache Airflow


Published: 2022-11-22 | Updated: 2023-08-02

Vulnerability identifier: #VU69473

Vulnerability risk: Medium

CVSSv3.1: 7.3 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-40127

CWE-ID: CWE-77

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Apache Airflow
Web applications / Modules and components for CMS

Vendor: Apache Foundation

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Apache Airflow: 2.0.0 - 2.3.4


External links
http://github.com/apache/airflow/pull/25960
http://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
http://www.openwall.com/lists/oss-security/2022/11/14/2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability