CVE-2024-28746: Apache Airflow Ignored Airflow Permission Vulnerability
MODERATECVE-2024-28746 is a MODERATE ignored airflow permission vulnerability (CWE-281: Improper Preservation of Permissions) affecting Apache Airflow libraries in the PyPI ecosystem. The issue involves ignored airflow permission. Remediation is available by upgrading affected packages to version 2.8.3rc1.
CVE-2024-28746 at a Glance
How to Fix CVE-2024-28746
To remediate this vulnerability, upgrade all affected Apache Airflow 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>=2.8.3rc1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-28746, inspect your installed packages using pip:
pip show apache-airflow
Analyze the terminal output to locate any version of Apache Airflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.3rc1), your application is affected.
Note: The pip show apache-airflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-281: Improper Preservation of Permissions, where the product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended. In Apache Airflow, 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-2024-28746 Affected Apache Airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
≥ 2.8.0
< 2.8.3rc1
|
2.8.3rc1
|
References
Frequently Asked Questions
What is CVE-2024-28746?
Which Apache Airflow versions are affected?
What version fixes CVE-2024-28746?
Is apache-airflow affected?
What CWE is associated with CVE-2024-28746?
How can I check PyPI dependencies for CVE-2024-28746?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h574-6646-vfxx",
"modified" : "2024-05-02T19:01:54Z",
"published" : "2024-03-14T09:31:05Z",
"aliases" : [ "CVE-2024-28746" ],
"summary" : "Apache Airflow: Ignored Airflow Permission",
"details" : "Apache Airflow, versions 2.8.0 through 2.8.2, has a vulnerability that allows an authenticated user with limited permissions to access resources such as variables, connections, etc from the UI which they do not have permission to access. \n\nUsers of Apache Airflow are recommended to upgrade to version 2.8.3 or newer to mitigate the risk associated with this vulnerability\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.3rc1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-28746"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/37881"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/89e7f3e7bdf2126bbbcd959dc10d65ef92773cca"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-46.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/b4pffc7w7do6qgk4jjbyxvdz5odrvny7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/03/13/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-281" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-15T14:19:23Z",
"nvd_published_at" : "2024-03-14T09:15:47Z"
}
}