CVE-2022-38170

Overly permissive umask for daemons

Published Sep 2, 2022 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.).

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0008 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.
Github GHSA Github GHSA GHSA-q8h9-pqcx-59hw Apache Airflow exposes arbitrary file content
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 3, 2024, 10:45 AM
Reserved
Aug 11, 2022, 12:00 AM
Status
Modified
Published
Sep 2, 2022, 7:15 AM
Modified
Jun 17, 2026, 4:56 AM