Apache Airflow Improper Preservation of Permissions vulnerability
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
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | apache-airflow | >= 2.8.2, < 2.8.4 | 2.8.4 |
Odnośniki
- https://nvd.nist.gov/vuln/detail/CVE-2024-29735
- https://github.com/apache/airflow/issues/37200
- https://github.com/apache/airflow/pull/37310
- https://github.com/apache/airflow/commit/aae4a83cdfb3be4afeefd88a7bfa3c4d8d184958
- https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions
- https://github.com/apache/airflow
- https://lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536
- http://www.openwall.com/lists/oss-security/2024/03/26/2
- https://pypi.org/project/apache-airflow
- https://github.com/advisories/GHSA-cff3-5qrp-hqx7
- Wektor CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N- Słabość (CWE)
CWE-281- Platforma
- Python (PyPI)
- Paczka
apache-airflow- Ujawniono
- 26.03.2024
- Aktualizacja
- 11.10.2026 13:19
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-cff3-5qrp-hqx7 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1132 - PyPA Advisory Database; CC BY 4.0
Historia podatności: apache-airflow
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 158
- Pierwsza → ostatnia
- 08.2018 09.2026
- Bez poprawki
- 4
- Wykorzystywana w atakach
- 2
Rozkład istotności
- Krytyczna 16
- Wysoka 49
- Średnia 86
- Niska 7
Ujawnienia w latach
- 2018: 1
- 2019: 8
- 2020: 12
- 2021: 5
- 2022: 16
- 2023: 31
- 2024: 18
- 2025: 6
- 2026: 61
-
Apache Airflow Improper Preservation of Permissions vulnerability ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.