{"id":"CVE-2022-38170","aliases":["CVE-2022-38170","GHSA-q8h9-pqcx-59hw","BIT-AIRFLOW-2022-38170","PYSEC-2022-261"],"related":[],"kind":"vulnerability","state":"published","title":"Overly permissive umask for daemons","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En Apache Airflow versiones anteriores a 2.3.4, era configurado una máscara de usuario no segura para numerosos componentes de Airflow cuando es ejecutado con el flag \"--daemon\", lo que podía resultar en una condición de carrera que daba lugar a archivos de escritura mundial en el directorio principal de Airflow y permitía a usuarios locales exponer contenidos de archivos arbitrarios por medio del servidor web","source":"nvd"}],"published":"2022-09-02T07:10:21.000Z","modified":"2026-11-27T13:17:17.950Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-362","CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.3.3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.4"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.4"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.4"}],"ecosystem":"PyPI","package":"apache-airflow","purl":"pkg:pypi/apache-airflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.4"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","tags":["advisory","mailing-list","mitigation","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","tags":["advisory","mailing-list","mitigation","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38170","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-q8h9-pqcx-59hw","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml","tags":["web"],"sources":["ghsa"]}],"credits":["The Apache Airflow PMC would like to thank Harry Sintonen for reporting this issue."],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-38170","url":"https://www.cve.org/CVERecord?id=CVE-2022-38170","licence":"CVE Terms of Use","modified":"2026-11-27T12:56:19.911Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q8h9-pqcx-59hw","url":"https://github.com/advisories/GHSA-q8h9-pqcx-59hw","licence":"CC-BY-4.0","modified":"2024-09-11T20:22:02.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-38170","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38170","licence":"Public domain","modified":"2026-11-27T13:17:17.950Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-261","url":"https://osv.dev/vulnerability/PYSEC-2022-261","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:31.473Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2022-38170","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2022-38170","licence":"Apache-2.0","modified":"2026-09-08T08:45:22.181Z"}],"updatedAt":"2026-11-27T13:32:13.899Z","epss":{"score":0.00617,"percentile":0.50907,"date":"2026-12-01T12:00:22.000Z"}}