CVE-2024-29735
Last modified
CVE-2024-29735 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 1.46% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Airflow | >= 2.8.2, <= 2.8.4 |
References
- https://github.com/apache/airflow/pull/37310Issue Tracking, Patch
- https://lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536Mailing List, Vendor Advisory
- https://github.com/apache/airflow/pull/37310Issue Tracking, Patch
- https://lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536Mailing List, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-29735?
How severe is CVE-2024-29735?
How do I fix CVE-2024-29735?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2973An Authentication Bypass Using an Alternate Path or Channel …10
- CVE-2024-29730SQL injection vulnerabilities in SportsNET affecting version…9.8
- CVE-2024-29731SQL injection vulnerabilities in SportsNET affecting version…9.8
- CVE-2024-29732A SQL Injection has been found on SCAN_VISIO eDocument Suite…9.8
- CVE-2024-29733Improper Certificate Validation vulnerability in Apache Airf…2.7
- CVE-2024-29734Uncontrolled search path element issue exists in SonicDICOM …7.8
- CVE-2024-29736A SSRF vulnerability in WADL service description in versions…9.1
- CVE-2024-29737In streampark, the project module integrates Maven's compila…4.7
- CVE-2024-29738In gov_init, there is a possible out of bounds read due to a…5.5
- CVE-2024-29739In tmu_get_temp_lut of tmu.c, there is a possible out of bou…5.5
- CVE-2024-2974The Essential Addons for Elementor – Best Elementor Template…5.3
- CVE-2024-29740In tmu_set_table of tmu.c, there is a possible out of bounds…7.4
Are you affected by CVE-2024-29735?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
