CVE-2022-38170: Overly permissive umask for daemons
| Severity | Not rated |
|---|---|
| Affects | Apache Airflow |
| Weakness | Overly permissive umask for deamons |
| Published | September 2, 2022 |
| Record updated | August 3, 2024 |
| CVE record | CVE-2022-38170 on cve.org |
Description
In Apache Airflow prior to 2.3.4, an insecure umask was configured for numerous Airflow components when running with the `--daemon` flag which could result in a race condition giving world-writable files in the Airflow home directory and allowing local users to expose arbitrary file contents via the webserver.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow | apache-airflow |
through 2.3.3 |
Credits
- The Apache Airflow PMC would like to thank Harry Sintonen for reporting this issue.
References
- https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv (x_refsource_MISC)
- [oss-security] 20220902 CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (mailing-list, x_refsource_MLIST)
- [oss-security] 20220902 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (mailing-list, x_refsource_MLIST)
- [oss-security] 20220920 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (mailing-list, x_refsource_MLIST)