Vulnerabilities in pkg:pypi/apache-airflow-providers-apache-hdfs
PACKAGECVE-2023-41267 is a HIGH (CVSS 7.8) apache hdfs provider error message vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting Apache airflow providers apache hdfs libraries in the PyPI ecosystem. The issue involves apache hdfs provider error message suggested. Remediation is available by upgrading affected packages to version 4.1.1.
pkg:pypi/apache-airflow-providers-apache-hdfs
Vulnerability advisories affecting package pkg:pypi/apache-airflow-providers-apache-hdfs. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5hj9-m76g-xrc8 | CVE-2023-41267 | HIGH | Apache HDFS Provider error message suggested |
CVE-2023-41267 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-41267
To remediate this vulnerability, upgrade all affected Apache airflow providers apache hdfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow-providers-apache-hdfs>=4.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow-providers-apache-hdfs
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-41267, inspect your installed packages using pip:
pip show apache-airflow-providers-apache-hdfs
Analyze the terminal output to locate any version of Apache airflow providers apache hdfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.1), your application is affected.
Note: The pip show apache-airflow-providers-apache-hdfs command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. In Apache airflow providers apache hdfs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-41267 Affected Apache airflow providers apache hdfs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow-providers-apache-hdfs
|
PyPI |
< 4.1.1
|
4.1.1
|
References
Frequently Asked Questions
What is CVE-2023-41267?
Which Apache airflow providers apache hdfs versions are affected?
What version fixes CVE-2023-41267?
Is apache-airflow-providers-apache-hdfs affected?
What is the CVSS score of CVE-2023-41267?
What CWE is associated with CVE-2023-41267?
How can I check PyPI dependencies for CVE-2023-41267?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5hj9-m76g-xrc8",
"modified" : "2025-02-13T19:13:06Z",
"published" : "2023-09-14T09:30:28Z",
"aliases" : [ "CVE-2023-41267" ],
"summary" : "Apache HDFS Provider error message suggested",
"details" : "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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow-providers-apache-hdfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-41267"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/33813"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/ggthr5pn42bn6wcr25hxnykjzh4ntw7z"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/14/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-829" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-01T21:29:25Z",
"nvd_published_at" : "2023-09-14T08:15:07Z"
}
}