Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow
  4. ›
  5. CVE-2024-29735

CVE-2024-29735: Apache Airflow Improper Preservation of Permissions vulnerability

March 26, 2024 (updated February 13, 2025)

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:

References

  • airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html
  • github.com/advisories/GHSA-cff3-5qrp-hqx7
  • github.com/apache/airflow
  • github.com/apache/airflow/commit/aae4a83cdfb3be4afeefd88a7bfa3c4d8d184958
  • github.com/apache/airflow/issues/37200
  • github.com/apache/airflow/pull/37310
  • lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536
  • nvd.nist.gov/vuln/detail/CVE-2024-29735

Code Behaviors & Features

Detect and mitigate CVE-2024-29735 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.8.2 before 2.8.4

Fixed versions

  • 2.8.4

Solution

Upgrade to version 2.8.4 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-281: Improper Preservation of Permissions

Source file

pypi/apache-airflow/CVE-2024-29735.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.