CVE-2021-38540
Apache Airflow: Variable Import endpoint missed authentication check
9.8
CRITICAL
CVSS 3.1
EPSS 91.8%
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.
How to fix CVE-2021-38540
To remediate CVE-2021-38540, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.3 or later
- —upgrade to 2.1.3 or later
- —upgrade to 2.1.3 or later
Is CVE-2021-38540 being exploited?
Likely — EPSS is 91.8%, placing CVE-2021-38540 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- >= 2.0.0, < 2.1.3
- >= 2.0.0, < 2.1.3
- >= 2.0.0, < 2.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |