{"id":"CVE-2021-38540","state":"PUBLISHED","title":"Apache Airflow: Variable Import endpoint missed authentication check","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.","publishedAt":"2021-09-09T15:05:09.000Z","updatedAt":"2024-08-04T01:44:23.448Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":["https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E","https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T19:48:49.871Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/38xxx/CVE-2021-38540.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-38540","state":"PUBLISHED","datePublished":"2021-09-09T15:05:09.000Z","dateUpdated":"2024-08-04T01:44:23.448Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-08-11T00:00:00.000Z"},"containers":{"cna":{"title":"Apache Airflow: Variable Import endpoint missed authentication check","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E","name":"[announce] 20210909 CVE-2021-38540: Apache Airflow: Variable Import endpoint missed authentication check","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","description":"CWE-269 Improper Privilege Management","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2021-09-09T19:06:12.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Airflow would like to thank Nathan Jones, National Australia Bank’s Offensive Security Team"}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Upgrade to Apache Airflow >=2.1.3"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-38540","STATE":"PUBLIC","TITLE":"Apache Airflow: Variable Import endpoint missed authentication check"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Airflow","version":{"version_data":[{"version_affected":"<","version_name":"Apache Airflow","version_value":"2.1.3"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Airflow would like to thank Nathan Jones, National Australia Bank’s Offensive Security Team"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-269 Improper Privilege Management"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E","refsource":"MISC","url":"https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E"},{"name":"[announce] 20210909 CVE-2021-38540: Apache Airflow: Variable Import endpoint missed authentication check","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2@%3Cannounce.apache.org%3E"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"Upgrade to Apache Airflow >=2.1.3"}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread.html/rb34c3dd1a815456355217eef34060789f771b6f77c3a3dec77de2064%40%3Cusers.airflow.apache.org%3E","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rac2ed9118f64733e47b4f1e82ddc8c8020774698f13328ca742b03a2%40%3Cannounce.apache.org%3E","name":"[announce] 20210909 CVE-2021-38540: Apache Airflow: Variable Import endpoint missed authentication check","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:44:23.448Z"}}]}}}