Vulnerability Details : 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.
Products affected by CVE-2022-40189
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:apache-airflow-providers-apache-pig:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-40189
1.62%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 80 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-40189
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2022-40189
-
The product 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.Assigned by: security@apache.org (Primary)
References for CVE-2022-40189
-
https://github.com/apache/airflow/pull/27644
Pig cli properties cannot be passed by connection extra by potiuk · Pull Request #27644 · apache/airflow · GitHubPatch;Third Party Advisory
-
https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15
CVE-2022-40189: Apache Airlfow Pig Provider RCE-Apache Mail ArchivesMailing List;Third Party Advisory
Jump to