{"id":"CVE-2023-35797","published":"2023-07-03T09:08:53Z","modified":"2025-02-13T16:55:55Z","title":"Apache Airflow Hive Provider Beeline RCE with Principal","vendor":"Apache","product":"Apache Airflow Apache Hive Provider","tier":"tail","description":{"text":"Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Hive Provider.\nThis issue affects Apache Airflow Apache Hive Provider: before 6.1.1.\n\nBefore version 6.1.1 it was possible to bypass the security check to RCE via\nprincipal parameter. For this to be exploited it requires access to modifying the connection details.\n\nIt is recommended updating provider version to 6.1.1 in order to avoid this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02791,"percentile":0.8676,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/apache/airflow/pull/31983","tags":["patch"]},{"url":"https://lists.apache.org/thread/30y19ok07fw52x5hnkbhwqo3ho0wwc1y","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/3","tags":[]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":17.35},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow Apache Hive Provider","versions":["< 6.1.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-07T18:27:39.439056Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow-providers-apache-hive","vulnerableRanges":["<6.1.1"],"patched":["6.1.1"],"from":["GHSA-hg6c-qqcm-r79r","PYSEC-2026-273"],"provenance":"source"}],"summary":{"text":"The Apache Airflow Hive Provider, in versions before 6.1.1, contains an improper input validation flaw in the Beeline connection handling, where the principal parameter can bypass the security check that should block remote code execution. An attacker able to modify Hive connection details, which is a configuration-level permission in Airflow, can exploit it to execute code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:50Z"},"euvd":{"id":"EUVD-2023-2075","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-airflow-apache-hive-provider-cve-2023-35797","packageHistory":[{"cve":"CVE-2022-46421","published":"2022-12-20","fixed":"5.0.0","kev":false},{"cve":"CVE-2023-25696","published":"2023-02-24","fixed":"5.1.3","kev":false},{"cve":"CVE-2023-28706","published":"2023-04-07","fixed":"6.0.0","kev":false,"link":{"from":"CVE-2023-28706","to":"CVE-2023-35797","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow-providers-apache-hive","fromFixed":"6.0.0","toFixed":"6.1.1","daysApart":87}]}},{"cve":"CVE-2023-35797","published":"2023-07-03","fixed":"6.1.1","kev":false},{"cve":"CVE-2023-37415","published":"2023-07-13","fixed":"6.1.2","kev":false,"link":{"from":"CVE-2023-35797","to":"CVE-2023-37415","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow-providers-apache-hive","fromFixed":"6.1.1","toFixed":"6.1.2","daysApart":10},{"kind":"similar","provenance":"machine","score":0.73,"basis":"same product + CWE + description similarity"}]}}],"package":"PyPI:apache-airflow-providers-apache-hive"}}