apache/airflow · Security
Apache Airflow exposes arbitrary file content
- GHSA ID
- GHSA-q8h9-pqcx-59hw
- CVE ID
- CVE-2022-38170
- Severity
- medium
- Published
- Updated
- CVSS
- 4.7 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 4.7 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 5.7 · CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
CWEs
- CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
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 ↗
- http://www.openwall.com/lists/oss-security/2022/09/21/2 ↗
- https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420 ↗
- https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8 ↗
- https://github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90 ↗
- https://github.com/advisories/GHSA-q8h9-pqcx-59hw ↗