Apache Airflow Hive Provider vulnerable to code injection
The advisory, in context
Apache Software Foundation's Apache Airflow Hive Provider before 6.0.0 is vulnerable to improper control of generation of code.
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 6.0.0
Fixed in 6.0.0
61 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.0, 5.0.0rc1, 5.1.0, 5.1.0rc1, 5.1.0rc2, 5.1.1, 5.1.1rc1, 5.1.2, 5.1.2rc1, 5.1.3, 5.1.3rc1, 6.0.0rc1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.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.0",
"5.0.0rc1",
"5.1.0",
"5.1.0rc1",
"5.1.0rc2",
"5.1.1",
"5.1.1rc1",
"5.1.2",
"5.1.2rc1",
"5.1.3",
"5.1.3rc1",
"6.0.0rc1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28706
- https://github.com/apache/airflow/pull/30212
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-apache-hive/PYSEC-2026-271.yaml
- https://lists.apache.org/thread/dl20xxd51xvlx0zzc0wzgxfjwgtbbxo3
- https://pypi.org/project/apache-airflow-providers-apache-hive
- http://www.openwall.com/lists/oss-security/2023/04/07/2