{"id":"CVE-2022-41131","published":"2022-11-22T00:00:00Z","modified":"2025-04-29T15:11:16Z","title":"Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)","vendor":"Apache","product":"Apache Airflow Hive Provider","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0169,"percentile":0.77637,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/apache/airflow/pull/27647","tags":[]},{"url":"https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl","tags":[]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":15.53},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow Hive Provider","versions":[">= unspecified, < 4.1.0"]},{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":["2.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-29T15:11:00.216562Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow-providers-apache-hive","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-cm43-f2pv-6v68","PYSEC-2026-772"],"provenance":"source"}],"summary":{"text":"The Apache Airflow Hive Provider contains an OS command injection flaw in its handling of the hive_cli connection, affecting Hive Provider versions prior to 4.1.0 and Airflow installations prior to 2.3.0 where the provider is installed. An attacker with local access and low privileges, and no write access to DAG files, can execute arbitrary commands within the task execution context without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:44Z"},"euvd":{"id":"EUVD-2022-7313","exploited":false,"provenance":"source"}}