{"id":"CVE-2022-38170","published":"2022-09-02T07:10:21Z","modified":"2024-08-03T10:45:52Z","title":"Overly permissive umask for daemons","vendor":"Apache","product":"Apache Airflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00617,"percentile":0.49532,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":9.91}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[">= Apache Airflow, <= 2.3.3"]}],"affected":[{"ecosystem":"PyPI","package":"apache-airflow","vulnerableRanges":["<2.3.4"],"patched":["2.3.4"],"from":["GHSA-q8h9-pqcx-59hw","PYSEC-2022-261"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-0008","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-airflow-cve-2020-17526","parents":[{"from":"CVE-2020-17526","to":"CVE-2022-38170","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["airflow/config_templates/default_airflow.cfg","airflow/configuration.py"],"commits":["https://github.com/apache/airflow/commit/2f3b1c780472afd4c8a93633e6633feb7083792e","https://github.com/apache/airflow/commit/6b065840323f9a4fc8e372b458d26e419e4fa99b","https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-38170","to":"CVE-2024-45034","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["airflow/settings.py"],"commits":["https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8","https://github.com/apache/airflow/commit/03e01e76d2203d37aa645096df195b4328665f6d"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-27949","published":"2022-11-14","fixed":"2.3.1","kev":false},{"cve":"CVE-2023-28707","published":"2023-04-07","fixed":"2.3.2","kev":false},{"cve":"CVE-2022-38054","published":"2022-09-02","fixed":"2.3.4rc1","kev":false,"link":{"from":"CVE-2022-38054","to":"CVE-2022-38170","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.3.4rc1","toFixed":"2.3.4","daysApart":0}]}},{"cve":"CVE-2022-38170","published":"2022-09-02","fixed":"2.3.4","kev":false},{"cve":"CVE-2022-40604","published":"2022-09-21","fixed":"2.4.0rc1","kev":false,"link":{"from":"CVE-2022-38170","to":"CVE-2022-40604","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.3.4","toFixed":"2.4.0b1","daysApart":19}]}},{"cve":"CVE-2022-40754","published":"2022-09-21","fixed":"2.4.0rc1","kev":false,"link":{"from":"CVE-2022-38170","to":"CVE-2022-40754","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow","fromFixed":"2.3.4","toFixed":"2.4.0b1","daysApart":19}]}},{"cve":"CVE-2022-40127","published":"2022-11-14","fixed":"2.4.0","kev":false}],"package":"PyPI:apache-airflow"}}