{"schemaVersion":3,"id":"CVE-2022-38170","aliases":["GHSA-q8h9-pqcx-59hw","BIT-airflow-2022-38170","PYSEC-2022-261"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-09-02T07:10:21.000Z","modified":"2024-08-03T10:45:52.810Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.7,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00617,"percentile":0.48492,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00617},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00617,"percentile":0.48492}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00617,"percentile":0.48492}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow","name":"Apache Airflow","label":"apache airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Apache Airflow, ≤ 2.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Apache Airflow, ≤ 2.3.3","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow"},{"vendor":"apache","product":"airflow","name":"Airflow","label":"airflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-airflow","label":"Apache Airflow","category":"framework"}},"hubHref":"/vendor/apache/airflow"},{"vendor":"PyPI","product":"apache-airflow","name":"apache-airflow","label":"apache-airflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow","purlType":"pypi","versions":[{"text":"< 2.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","label":"lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Mitigation","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/3","label":"www.openwall.com/lists/oss-security/2022/09/02/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Mitigation","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/12","label":"www.openwall.com/lists/oss-security/2022/09/02/12","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/21/2","label":"www.openwall.com/lists/oss-security/2022/09/21/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38170","label":"nvd.nist.gov/vuln/detail/CVE-2022-38170","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","label":"github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8","label":"github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90","label":"github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-q8h9-pqcx-59hw","label":"github.com/advisories/GHSA-q8h9-pqcx-59hw","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-02T07:10:21.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T10:45:52.810Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:39:30.110Z","stale":false,"partial":false}}