Apache Airflow Hive Provider vulnerable to Command Injection
The advisory, in context
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache Airflow Hive Provider.This issue affects Apache Airflow Hive Provider before 5.0.0.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 5.0.0
Fixed in 5.0.0
50 explicitly affected versions
1.0.0, 1.0.0b1, 1.0.0b2, 1.0.0rc1, 1.0.1, 1.0.1rc1, 1.0.2, 1.0.2rc1, 1.0.3, 1.0.3rc1, 2.0.0, 2.0.0rc1, 2.0.0rc2, 2.0.1, 2.0.1rc1, 2.0.1rc2, 2.0.2, 2.0.2rc1, 2.0.3, 2.0.3rc1, 2.1.0, 2.1.0rc1, 2.2.0, 2.2.0rc1, 2.2.0rc2, 2.3.0, 2.3.0rc1, 2.3.1, 2.3.1rc1, 2.3.2, 2.3.2rc1, 2.3.3, 2.3.3rc1, 3.0.0, 3.0.0rc1, 3.0.0rc2, 3.1.0, 3.1.0rc1, 4.0.0, 4.0.0rc1, 4.0.0rc2, 4.0.0rc3, 4.0.1, 4.0.1rc1, 4.1.0, 4.1.0rc1, 4.1.1, 4.1.1rc2, 4.1.1rc3, 5.0.0rc1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0",
"1.0.0b1",
"1.0.0b2",
"1.0.0rc1",
"1.0.1",
"1.0.1rc1",
"1.0.2",
"1.0.2rc1",
"1.0.3",
"1.0.3rc1",
"2.0.0",
"2.0.0rc1",
"2.0.0rc2",
"2.0.1",
"2.0.1rc1",
"2.0.1rc2",
"2.0.2",
"2.0.2rc1",
"2.0.3",
"2.0.3rc1",
"2.1.0",
"2.1.0rc1",
"2.2.0",
"2.2.0rc1",
"2.2.0rc2",
"2.3.0",
"2.3.0rc1",
"2.3.1",
"2.3.1rc1",
"2.3.2",
"2.3.2rc1",
"2.3.3",
"2.3.3rc1",
"3.0.0",
"3.0.0rc1",
"3.0.0rc2",
"3.1.0",
"3.1.0rc1",
"4.0.0",
"4.0.0rc1",
"4.0.0rc2",
"4.0.0rc3",
"4.0.1",
"4.0.1rc1",
"4.1.0",
"4.1.0rc1",
"4.1.1",
"4.1.1rc2",
"4.1.1rc3",
"5.0.0rc1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2022-46421
- https://github.com/apache/airflow/pull/28101
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-apache-hive/PYSEC-2026-274.yaml
- https://lists.apache.org/thread/09twdoyoybldlfj5gvk0qswtofh0rmp4
- https://pypi.org/project/apache-airflow-providers-apache-hive