{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-38170","id":"CVE-2022-38170","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.","descriptionLong":"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.","published":"2022-09-02T07:10:21.000Z","updated":"2026-10-28T02:30:30.321188061Z","reserved":"2022-08-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache Airflow"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.3.3","status":"affected","version":"Apache Airflow","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apache-airflow","purl":"pkg:pypi/apache-airflow","ranges":["<2.3.4"],"fixed":["2.3.4"],"advisory":"GHSA-q8h9-pqcx-59hw"}],"cwes":["CWE-732","CWE-362"],"aliases":["BIT-airflow-2022-38170","GHSA-q8h9-pqcx-59hw","PYSEC-2022-261"],"references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","tags":["x_refsource_MISC","x_transferred","Mailing List","Mitigation","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Mitigation","Third Party Advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38170.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38170","tags":["advisory"]},{"url":"https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","tags":["web"]},{"url":"https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8","tags":["web"]},{"url":"https://github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q8h9-pqcx-59hw","tags":["advisory"]},{"url":"https://github.com/apache/airflow","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00617,"epssPercentile":0.50374,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-38170","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38170","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-38170","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q8h9-pqcx-59hw","ok":true,"note":"GHSA-q8h9-pqcx-59hw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-38170","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}