CVE-2020-11978 is a vulnerability in Apache Airflow
Published on July 17, 2020
An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use). If you already have examples disabled by setting load_examples=False in the config then you are not vulnerable.
Known Exploited Vulnerability
This Apache Airflow Command Injection vulnerability is part of CISA's list of Known Exploited Vulnerabilities. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow.
The following remediation steps are recommended / required by July 18, 2022: Apply updates per vendor instructions.
Vulnerability Analysis
CVE-2020-11978 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. It has an exploitability score of 2.8 out of four. The potential impact of an exploit of this vulnerability is considered to be very high.
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2020-11978 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2020-11978
You can be notified by stack.watch whenever vulnerabilities like CVE-2020-11978 are published in these products:
What versions of Airflow are vulnerable to CVE-2020-11978?
- Apache Airflow Up to Version 1.10.10