{"id":"CVE-2022-38170","state":"PUBLISHED","title":"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.","publishedAt":"2022-09-02T07:10:21.000Z","updatedAt":"2024-08-03T10:45:52.810Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow","status":"affected","lessThanOrEqual":"2.3.3","versionType":"custom"}]}],"references":["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","http://www.openwall.com/lists/oss-security/2022/09/21/2"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:26.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/38xxx/CVE-2022-38170.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-38170","state":"PUBLISHED","datePublished":"2022-09-02T07:10:21.000Z","dateUpdated":"2024-08-03T10:45:52.810Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-08-11T00:00:00.000Z"},"containers":{"cna":{"title":"Overly permissive umask for daemons","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow","status":"affected","lessThanOrEqual":"2.3.3","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","name":"[oss-security] 20220902 CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","name":"[oss-security] 20220902 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","name":"[oss-security] 20220920 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"Overly permissive umask for deamons","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2022-09-21T11:06:07.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"The Apache Airflow PMC would like to thank Harry Sintonen for reporting this issue."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.)."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-38170","STATE":"PUBLIC","TITLE":"Overly permissive umask for daemons"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Airflow","version":{"version_data":[{"version_affected":"<=","version_name":"Apache Airflow","version_value":"2.3.3"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"The Apache Airflow PMC would like to thank Harry Sintonen for reporting this issue."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Overly permissive umask for deamons"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","refsource":"MISC","url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv"},{"name":"[oss-security] 20220902 CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/09/02/3"},{"name":"[oss-security] 20220902 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/09/02/12"},{"name":"[oss-security] 20220920 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/09/21/2"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.)."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","name":"[oss-security] 20220902 CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","name":"[oss-security] 20220902 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","name":"[oss-security] 20220920 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T10:45:52.810Z"}}]}}}