Vulnerabilities · 2021 · Apache
CVE-2021-38540
Apache Airflow vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Airflow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Airflow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40% · Vendor Advisory
- lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%
- nvd.nist.gov/vuln/detail/CVE-2021-38540
- lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2@%3C
- github.com/apache/airflow/commit/bcec1df703cd4a01520a90c3f801cca6f97d9bfd
- github.com/advisories/GHSA-h88f-r7cw-8fv3
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-326.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-38540
- cve.org/CVERecord?id=CVE-2021-38540
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.