VDB
Sign up
MEDIUM6.5

PYSEC-2021-2

Quick fix

PYSEC-2021-2 — apache-airflow: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow>=2.0.1'

Details

Improper Access Control on Configurations Endpoint for the Stable API of Apache Airflow allows users with Viewer or User role to get Airflow Configurations including sensitive information even when `[webserver] expose_config` is set to `False` in `airflow.cfg`. This allowed a privilege escalation attack. This issue affects Apache Airflow 2.0.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow
Introduced in: 0Fixed in: 2.0.1
Fixpip install --upgrade 'apache-airflow>=2.0.1'

References