CVE-2024-29735
CVE-2024-29735 is a medium-severity vulnerability in Apache Airflow with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-281.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 1% (70th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0900
- Weakness: CWE-281
- Affected product: Apache Airflow
- Published:
- Last modified:
Description
Improper Preservation of Permissions vulnerability in Apache Airflow.This issue affects Apache Airflow from 2.8.2 through 2.8.3. Airflow's local file task handler in Airflow incorrectly set permissions for all parent folders of log folder, in default configuration adding write access to Unix group of the folders. In the case Airflow is run with the root user (not recommended) it added group write permission to all folders up to the root of the filesystem. If your log files are stored in the home directory, these permission changes might impact your ability to run SSH operations after your home directory becomes group-writeable. This issue does not affect users who use or extend Airflow using Official Airflow Docker reference images ( https://hub.docker.com/r/apache/airflow/ ) - those images require to have group write permission set anyway. You are affected only if you install Airflow using local installation / virtualenv or other Docker images, but the issue has no impact if docker containers are used as intended, i.e. where Airflow components do not share containers with other applications and users. Also you should not be affected if your umask is 002 (group write enabled) - this is the default on many linux systems. Recommendation for users using Airflow outside of the containers: * if you are using root to run Airflow, change your Airflow user to use non-root * upgrade Apache Airflow to 2.8.4 or above * If you prefer not to upgrade, you can change the https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions to 0o755 (original value 0o775). * if you already ran Airflow tasks before and your default umask is 022 (group write disabled) you should stop Airflow components, check permissions of AIRFLOW_HOME/logs in all your components and all parent directories of this directory and remove group write access for all the parent directories
Frequently asked questions
- What is CVE-2024-29735?
- Improper Preservation of Permissions vulnerability in Apache Airflow.This issue affects Apache Airflow from 2.8.2 through 2.8.3. Airflow's local file task handler in Airflow incorrectly set permissions for all parent folders of log folder, in default configuration adding write access to Unix group of the folders. In the case Airflow is run with the root user (not recommended) it added group write permission to all folders up to the root of the filesystem. If your log files are stored in the home directory, these permission changes might impact your ability to run SSH operations after your home directory becomes group-writeable. This issue does not affect users who use or extend Airflow using Official Airflow Docker reference images ( https://hub.docker.com/r/apache/airflow/ ) - those images require to have group write permission set anyway. You are affected only if you install Airflow using local installation / virtualenv or other Docker images, but the issue has no impact if docker containers are used as intended, i.e. where Airflow components do not share containers with other applications and users. Also you should not be affected if your umask is 002 (group write enabled) - this is the default on many linux systems. Recommendation for users using Airflow outside of the containers: * if you are using root to run Airflow, change your Airflow user to use non-root * upgrade Apache Airflow to 2.8.4 or above * If you prefer not to upgrade, you can change the https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions to 0o755 (original value 0o775). * if you already ran Airflow tasks before and your default umask is 022 (group write disabled) you should stop Airflow components, check permissions of AIRFLOW_HOME/logs in all your components and all parent directories of this directory and remove group write access for all the parent directories
- How severe is CVE-2024-29735?
- CVE-2024-29735 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2024-29735 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (70th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-29735?
- CVE-2024-29735 affects Apache Airflow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-29735?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-29735 have an EU (EUVD) identifier?
- Yes. CVE-2024-29735 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0900.
- When was CVE-2024-29735 published?
- CVE-2024-29735 was published on 2024-03-26 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2024/03/26/2
- https://github.com/apache/airflow/pull/37310
- https://lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536
Affected products (1)
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Airflow
- CVE-2023-25754 — Critical (CVSS 9.8): Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache…
- CVE-2023-22884 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software…
- CVE-2022-40189 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38649 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38054 — Critical (CVSS 9.8): In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session…
- CVE-2021-38540 — Critical (CVSS 9.8): The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed…
All CVEs affecting Apache Airflow →
Other CWE-281 (Improper Preservation of Permissions) vulnerabilities
- CVE-2024-36532 — Critical (CVSS 10.0): Insecure permissions in kruise v1.6.2 allows attackers to access sensitive data and escalate privileges by obtaining…
- CVE-2024-56973 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Alvaria, Inc Unified IP Unified Director before v.7.2SP2 allows a remote attacker…
- CVE-2024-46622 — Critical (CVSS 9.8): An Escalation of Privilege security vulnerability was found in SecureAge Security Suite software 7.0.x before 7.0.38,…
- CVE-2024-55507 — Critical (CVSS 9.8): An issue in CodeAstro Complaint Management System v.1.0 allows a remote attacker to escalate privileges via the…
- CVE-2024-54465 — Critical (CVSS 9.8): A logic issue was addressed with improved state management. This issue is fixed in macOS Sequoia 15.2. An app may be…
- CVE-2024-41650 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Open Robotics Robotic Operating System 2 ROS2 navigation2 v.humble allows an…
Browse all CWE-281 (Improper Preservation of Permissions) vulnerabilities →