← Back to CVEs
CVE-2022-40189
CRITICAL9.8
Description
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published11/22/2022
Last Modified4/29/2025
Sourcenvd
Honeypot Sightings0
Affected Products
apache:airflowapache:apache-airflow-providers-apache-pig
Weaknesses (CWE)
CWE-78
References
https://github.com/apache/airflow/pull/27644(security@apache.org)
https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15(security@apache.org)
https://github.com/apache/airflow/pull/27644(af854a3a-2127-422b-91ae-364da2661108)
https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.