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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38170
- https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv
- http://www.openwall.com/lists/oss-security/2022/09/02/3
- http://www.openwall.com/lists/oss-security/2022/09/02/12
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml
- https://github.com/advisories/GHSA-q8h9-pqcx-59hw