CVE-2022-40189: Apache Airlfow Pig Provider RCE
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Pig Provider, Apache Airflow allows an attacker to control commands executed in the task execution context, without write access to DAG files. This issue affects Pig Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Pig Provider is installed (Pig Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Pig Provider version 4.0.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Airflow Pig Providerto a version that resolves this vulnerability.Fixed in 4.0.0
Event History
Frequently Asked Questions
What is CVE-2022-40189?
CVE-2022-40189 is an OS Command Injection vulnerability in Apache Airflow Pig Provider.
How severe is CVE-2022-40189?
CVE-2022-40189 has a severity rating of 9.8 (critical).
Which software versions are affected by CVE-2022-40189?
Apache Airflow versions up to and exclusive of 2.3.0, and Apache Airflow Pig Provider versions up to and exclusive of 4.0.0 are affected by CVE-2022-40189.
What is the impact of CVE-2022-40189?
CVE-2022-40189 allows an attacker to control commands executed in the task execution context without write access to DAG files.
Are there any references for CVE-2022-40189?
Yes, you can find references for CVE-2022-40189 at the following links: [Github Pull Request](https://github.com/apache/airflow/pull/27644) and [Apache Mailing List](https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15).