Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2021-38540 BIT-airflow-2021-38540EUVD-2021-0016GHSA-h88f-r7cw-8fv3PYSEC-2021-326

Apache Airflow: Variable Import endpoint missed authentication check

Published Sep 9, 2021 · Updated Aug 4, 2024 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Airflow Apache Airflow – < 2.1.3 2.1.3

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-airflow >= 2.0.0, < 2.1.3 2.1.3 GHSA-h88f-r7cw-8fv3

References