Overview
On November 21, NSFOCUS CERT discovered on Internet a PoC of a remote code execution vulnerability (CVE-2022-40127) in Apache Airflow. Due to the flaw in Example Dags in Apache Airflow, an attacker with UI access rights can use this vulnerability to trigger Dags, and then by manually providing the run_id parameter, attacker can execute arbitrary commands on the target system. The CVSS score is 8.8, relevant users are requested to take protective measures as soon as possible.
Apache Airflow is a distributed task scheduling platform with visualization that provides workflow orchestration based on DAG (Directed Acyclic Graph).
https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
Scope of Impact
Affected version
Apache Airflow < 2.4.0
Unaffected version
Apache Airflow >= 2.4.0
Mitigation
Official upgrade
At present, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade their protection in time: https://github.com/apache/airflow/releases
Note: In order to prevent accidents, it is recommended to do a data backup before upgrading.
Temporary measure
Access to the Airflow platform can be restricted without affecting business.
Statement
This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.
About NSFOCUS
NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.
NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).
A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.