CVE-2021-38540CWE-269

Apache Airflow: Variable Import endpoint missed authentication check

published September 9, 2021

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.6th percentile for exploit probability.

CVSS
โ€”
EPSS
81%
Percentile
99.6
In the wild
Unconfirmed
What it is

๐Ÿšจ An unguarded variable import endpoint lets anyone mess with your Airflow setup! This vulnerability could seriously disrupt your plans! ๐Ÿ”ฅ Think of it like a restaurant where anyone can walk into the kitchen and change the menu โ€” if a rogue chef decides to swap the ingredient list, you could end up serving something completely different (or worse, nothing at all). Unrestricted access to this endpoint means that unauthorized users can add or modify Airflow variables, which can lead to denial of service, information leaks, or even remote code execution. Imagine your carefully planned workflows thrown into chaos or sensitive data exposed โ€” yikes!

Put simply

Think of it like a restaurant where anyone can walk into the kitchen and change the menu โ€” if a rogue chef decides to swap the ingredient list, you could end up serving something completely different (or worse, nothing at all). This vulnerability arises in Airflow versions 2.0.0 to 2.1.2 due to a lack of authentication on the variable import endpoint, allowing any user to manipulate critical configuration settings without proper authorization.

What to do

Unrestricted access to this endpoint means that unauthorized users can add or modify Airflow variables, which can lead to denial of service, information leaks, or even remote code execution. Imagine your carefully planned workflows thrown into chaos or sensitive data exposed โ€” yikes! To patch this, upgrade to Airflow version 2.1.3 or later where this issue is resolved. Additionally, review your authentication settings to ensure sensitive endpoints are properly protected. Don't wait on this one! You've got this! By taking these steps, you'll be one step closer to securing your Airflow environment and earning that security hero badge! ๐Ÿฆธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.80938 ยท 99.6th percentile
Weakness
CWE-269 ยท Improper Privilege Management
Published
2021-09-09T15:05Z
EPSS history
Timeline
  • 09 SEP 15:05Z
    Apache Airflow: Variable Import endpoint missed authentication check
    cvelistv5