Auth bypass in Apache Airflow
CVE-2021-38540
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.809 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.809 · newest: 0.809 · change: 0.000
Affected products
- Apache Airflow
- Apache Software Foundation Airflow — versions Apache Airflow
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec7… (Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca7… (mailing-list)
Frequently asked questions
- What is CVE-2021-38540?
- CVE-2021-38540 is a critical-severity vulnerability in Apache Airflow, classified under Improper Privilege Management. CVSS score: 9.8/10. Published 2021-09-09.
- How severe is CVE-2021-38540?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-38540 known to be exploited?
- 10 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.