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
Link Resource
https://github.com/apache/airflow/pull/27644 Patch Third Party Advisory
https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15 Mailing List Third Party Advisory
Configurations

Configuration 1 (hide)

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

History

29 Nov 2022, 13:57

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:apache-airflow-providers-apache-pig:*:*:*:*:*:*:*:*
First Time Apache
Apache apache-airflow-providers-apache-pig
Apache airflow
References (MISC) https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15 - (MISC) https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15 - Mailing List, Third Party Advisory
References (MISC) https://github.com/apache/airflow/pull/27644 - (MISC) https://github.com/apache/airflow/pull/27644 - Patch, Third Party Advisory

22 Nov 2022, 13:44

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-22 10:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-40189

Mitre link : CVE-2022-40189

CVE.ORG link : CVE-2022-40189


JSON object : View

Products Affected

apache

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

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')