GHSA-cm43-f2pv-6v68

Suggest an improvement
Source
https://github.com/advisories/GHSA-cm43-f2pv-6v68
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-cm43-f2pv-6v68/GHSA-cm43-f2pv-6v68.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cm43-f2pv-6v68
Aliases
Published
2022-11-22T12:30:22Z
Modified
2023-12-06T01:02:36.021265Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS Command Injection in Apache Airflow
Details

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).

Database specific
{
    "nvd_published_at": "2022-11-22T10:15:00Z",
    "github_reviewed_at": "2022-11-22T18:30:58Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

PyPI / apache-airflow-providers-apache-hive

Package

Name
apache-airflow-providers-apache-hive
View open source insights on deps.dev
Purl
pkg:pypi/apache-airflow-providers-apache-hive

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.0

Affected versions

1.*

1.0.0b1
1.0.0b2
1.0.0rc1
1.0.0
1.0.1rc1
1.0.1
1.0.2rc1
1.0.2
1.0.3rc1
1.0.3

2.*

2.0.0rc1
2.0.0rc2
2.0.0
2.0.1rc1
2.0.1rc2
2.0.1
2.0.2rc1
2.0.2
2.0.3rc1
2.0.3
2.1.0rc1
2.1.0
2.2.0rc1
2.2.0rc2
2.2.0
2.3.0rc1
2.3.0
2.3.1rc1
2.3.1
2.3.2rc1
2.3.2
2.3.3rc1
2.3.3

3.*

3.0.0rc1
3.0.0rc2
3.0.0
3.1.0rc1
3.1.0

4.*

4.0.0rc1
4.0.0rc2
4.0.0rc3
4.0.0
4.0.1rc1
4.0.1
4.1.0rc1