CVE-2024-26280: Apache Airflow Incorrect Default Permissions Vulnerability
MODERATECVE-2024-26280 is a MODERATE (CVSS 4.7) incorrect default permissions vulnerability (CWE-276: Incorrect Default Permissions) affecting Apache Airflow libraries in the PyPI ecosystem. The issue involves incorrect default permissions in audit logs for ops and viewers users. Remediation is available by upgrading affected packages to version 2.8.2.
CVE-2024-26280 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2024-26280
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.2
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-26280, 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.2), 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-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. 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-26280 Affected Apache Airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
< 2.8.2
|
2.8.2
|
References
Frequently Asked Questions
What is CVE-2024-26280?
Which Apache Airflow versions are affected?
What version fixes CVE-2024-26280?
Is apache-airflow affected?
What is the CVSS score of CVE-2024-26280?
What CWE is associated with CVE-2024-26280?
How can I check PyPI dependencies for CVE-2024-26280?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6xwf-xvf3-v459",
"modified" : "2024-11-01T21:32:49Z",
"published" : "2024-03-01T12:30:53Z",
"aliases" : [ "CVE-2024-26280" ],
"summary" : "Apache Airflow: Incorrect Default Permissions in audit logs for Ops and Viewers users",
"details" : "Apache Airflow, versions before 2.8.2, has a vulnerability that allows authenticated Ops and Viewers users to view all information on audit logs, including dag names and usernames they were not permitted to view. With 2.8.2 and newer, Ops and Viewer users do not have audit log permission by default, they need to be explicitly granted permissions to see the logs. Only admin users have audit log permission by default.\n\nUsers of Apache Airflow are recommended to upgrade to version 2.8.2 or newer to mitigate the risk associated with this vulnerability",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.8.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-26280"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/37501"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/1a96407cd2d76616c1137de288f092d4f3b097fa"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/7f10998c17ab9d725bc8671deb4c12d672bfba99"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/8324c87e05741e5a673c43b315619a3788bacc2e"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/8463ee4f25114a6c5fb2408d6026afe94bdf106d"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/f2ea8a3e1753012bfe0d529c9c8be66cf55ca28f"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/f4b9cc74976b7df1acbc3c63471b5751b3e2c40c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-42.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/knskxxxml95091rsnpxkpo1jjp8rj0fh"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/03/01/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-01T21:40:55Z",
"nvd_published_at" : "2024-03-01T11:15:08Z"
}
}