CVE-2022-38170

Overly permissive umask for daemons

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.

Remediation

Workaround:

  • Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.).

Category

4.7
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.12%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Airflow
Published at:
Updated at:

References

Link Tags
https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv mailing list vendor advisory mitigation
http://www.openwall.com/lists/oss-security/2022/09/02/3 mailing list third party advisory mitigation
http://www.openwall.com/lists/oss-security/2022/09/02/12 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2022/09/21/2 third party advisory mailing list

Frequently Asked Questions

What is the severity of CVE-2022-38170?
CVE-2022-38170 has been scored as a medium severity vulnerability.
How to fix CVE-2022-38170?
As a workaround for remediating CVE-2022-38170: Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.).
Is CVE-2022-38170 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-38170 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-38170?
CVE-2022-38170 affects Apache Software Foundation Apache Airflow.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.