CVE-2023-41267 Apache HDFS Provider error message suggested installation of incorrect pip package

High 7.8 Published Updated

Incorrect documentation directed users to install a non-existent PyPI package, allowing potential attackers to claim it and execute malicious code.

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-41267?

CVE-2023-41267 is a high-severity vulnerability in Apache Airflow HDFS Provider, published on 14 Sep 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

In the Apache Airflow HDFS Provider, versions prior to 4.1.1, a documentation info pointed users to an install incorrect pip package. As this package name was unclaimed, in theory, an attacker could claim this package and provide code that would be executed when this package was installed. The Airflow team has since taken ownership of the package (neutralizing the risk), and fixed the doc strings in version 4.1.1

Weakness: CWE-829

Which versions are affected by CVE-2023-41267?

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

PackageAffectedFixed in
apache-airflow-providers-apache-hdfs PyPIAll versions4.1.1
apache-airflow-providers-apache-hdfs PyPIAll versions4.1.1
apache-airflow-providers-apache-hdfs PyPIAll versions4.1.1

Products include Apache Airflow Hdfs Provider.

How do I fix CVE-2023-41267?

Upgrade apache-airflow-providers-apache-hdfs to 4.1.1 or later.

Is CVE-2023-41267 being exploited?

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

Sources

Also known as GHSA-5hj9-m76g-xrc8, PYSEC-2026-1138.

Is CVE-2023-41267 in your software?

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

Check your SBOMs for free