CVE-2022-41131 Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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).
Upgrade path
5 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache airflow | < 2.3.0 | 2.3.0 | Fixed |
| Apache Airflow Hive Provider | < 4.1.0 | 4.1.0 | Fixed |
| apache-airflow-providers-apache-hive | < 4.1.0 | 4.1.0 | Fixed |
| pypi apache-airflow-providers-apache-hive(PyPI) | < 4.1.0; = 1.0.0; = 1.0.0b1; = 1.0.0b2 +42 more | 4.1.0 | Fixed |
| Apache Airflow | = 2.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow-providers-apache-hive(PyPI) | < 4.1.0 | 4.1.0 |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.0b1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.0b2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.1rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.2rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.3 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 1.0.3rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.0rc2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.1rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.1rc2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.2rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.3 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.0.3rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.1.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.1.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.2.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.2.0rc1 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.2.0rc2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.1rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.2rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.3 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 2.3.3rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 3.0.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 3.0.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 3.0.0rc2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 3.1.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 3.1.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.0 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.0rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.0rc2 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.0rc3 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.0.1rc1 | No fix listed |
| pypi apache-airflow-providers-apache-hive(PyPI) | = 4.1.0rc1 | No fix listed |
| Apache Airflow Hive Provider | < 4.1.0 | 4.1.0 |
| Apache Airflow | = 2.3.0 | No fix listed |
| apache airflow | < 2.3.0 | 2.3.0 |
| apache-airflow-providers-apache-hive | < 4.1.0 | 4.1.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- lists.apache.org issue-tracking mailing-list third-party-advisory
- github.com vendor-advisory
- github.com product
- pypi.org product