CVE-2021-35936

No Authentication on Logging Server

Published Aug 16, 2021 CVSS 3.1 · 5.3 Medium EPSS 5.5% KEV · Not listed
Description
If remote logging is not used, the worker (in the case of CeleryExecutor) or the scheduler (in the case of LocalExecutor) runs a Flask logging server and is listening on a specific port and also binds on 0.0.0.0 by default. This logging server had no authentication and allows reading log files of DAG jobs. This issue affects Apache Airflow < 2.1.2.

Remediation

Vendor Workaround

Use remote logging with GCS, S3, Elasticsearch etc. This is recommended for production environments. And do not publicly expose any other ports apart from Webserver port, Flower port etc.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0013 If remote logging is not used, the worker (in the case of CeleryExecutor) or the scheduler (in the case of LocalExecutor) runs a Flask logging server and is listening on a specific port and also binds on 0.0.0.0 by default. This logging server had no authentication and allows reading log files of DAG jobs. This issue affects Apache Airflow < 2.1.2.
Github GHSA Github GHSA GHSA-m6h2-jx9v-58w6 Missing Authorization in Apache Airflow
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00116}

epss

{'score': 0.00113}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 12:40 AM
Reserved
Jun 29, 2021, 12:00 AM
Status
Modified
Published
Aug 16, 2021, 8:15 AM
Modified
Jun 17, 2026, 3:57 AM