CVE-2021-35936

No Authentication on Logging Server

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

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.

Categories

5.3
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.24%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Airflow
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-35936?
CVE-2021-35936 has been scored as a medium severity vulnerability.
How to fix CVE-2021-35936?
As a workaround for remediating CVE-2021-35936: 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.
Is CVE-2021-35936 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-35936 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-35936?
CVE-2021-35936 affects Apache Software Foundation Apache Airflow.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.