CRITICAL9.8
PYSEC-2021-326
Quick fix
PYSEC-2021-326 — apache-airflow: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow>=2.1.3'Details
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed unauthenticated users to hit that endpoint to add/modify Airflow variables used in DAGs, potentially resulting in a denial of service, information disclosure or remote code execution. This issue affects Apache Airflow >=2.0.0, <2.1.3.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/apache-airflow
Introduced in:
2.0.0Fixed in: 2.1.3Fix
pip install --upgrade 'apache-airflow>=2.1.3'References
- https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2@%3Cannounce.apache.org%3E[WEB]
- https://github.com/advisories/GHSA-h88f-r7cw-8fv3[ADVISORY]