CVE-2023-34395 Apache Airflow ODBC Provider: Remote code execution vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code and escalate privileges by manipulating ODBC driver parameters to load malicious libraries in Apache Airflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-34395?

CVE-2023-34395 is a high-severity code injection vulnerability in Apache Airflow ODBC Provider, published on 27 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') vulnerability in Apache Software Foundation Apache Airflow ODBC Provider. In OdbcHook, A privilege escalation vulnerability exists in a system due to controllable ODBC driver parameters that allow the loading of arbitrary dynamic-link libraries, resulting in command execution. Starting version 4.0.0 driver can be set only from the hook constructor. This issue affects Apache Airflow ODBC Provider: before 4.0.0.

Weakness: CWE-88

Which versions are affected by CVE-2023-34395?

3 open source packages ship an affected version, including apache-airflow-providers-odbc. It affects 1 product.

PackageAffectedFixed in
apache-airflow-providers-odbc PyPIAll versions4.0.0
apache-airflow-providers-odbc PyPIAll versions4.0.0
apache-airflow-providers-odbc PyPIAll versions4.0.0

Products include Apache Apache-Airflow-Providers-Odbc.

How do I fix CVE-2023-34395?

Upgrade apache-airflow-providers-odbc to 4.0.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-34395 being exploited?

There is no known exploitation of CVE-2023-34395 in the wild and no public exploit code.

Sources

Also known as GHSA-9766-v29c-4vm7, PYSEC-2026-1152, ROOT-APP-PYPI-CVE-2023-34395.

Is CVE-2023-34395 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free