Vulnerability Details : CVE-2022-41131
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).
Products affected by CVE-2022-41131
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:apache-airflow-providers-apache-hive:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-41131
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-41131
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2022-41131
-
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-41131
-
https://github.com/apache/airflow/pull/27647
Filter out invalid schemas in Hive hook by potiuk · Pull Request #27647 · apache/airflow · GitHubPatch;Third Party Advisory
-
https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl
CVE-2022-41131: Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)-Apache Mail ArchivesIssue Tracking;Mailing List;Third Party Advisory
Jump to