CVE-2022-40189

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:apache-airflow-providers-apache-pig:*:*:*:*:*:*:*:*

History

29 Apr 2025, 05:15

Type Values Removed Values Added
CWE CWE-78
References (MISC) https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15 - Mailing List, Third Party Advisory () https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15 - Mailing List, Third Party Advisory
References (MISC) https://github.com/apache/airflow/pull/27644 - Patch, Third Party Advisory () https://github.com/apache/airflow/pull/27644 - Patch, Third Party Advisory

Information

Published : 2022-11-22 10:15

Updated : 2025-04-29 05:15


NVD link : CVE-2022-40189

Mitre link : CVE-2022-40189


JSON object : View

Products Affected

apache

  • apache-airflow-providers-apache-pig
  • airflow
CWE

No CWE.