{"id":"CVE-2021-45230","state":"PUBLISHED","title":"Apache Airflow: Creating DagRuns didn't respect Dag-level permissions in the Webserver","description":"In Apache Airflow prior to 2.2.0. This CVE applies to a specific case where a User who has \"can_create\" permissions on DAG Runs can create Dag Runs for dags that they don't have \"edit\" permissions for.","publishedAt":"2022-01-20T10:25:10.000Z","updatedAt":"2024-08-04T04:39:20.469Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow 1.10 1.10.0 to 1.10.15","status":"affected"},{"version":"Apache Airflow 2","status":"affected","lessThan":"2.2.0","versionType":"custom"}]}],"references":["https://lists.apache.org/thread/m778ojn0k595rwco4ht9wjql89mjoxnl"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:13.309Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/45xxx/CVE-2021-45230.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-45230","state":"PUBLISHED","datePublished":"2022-01-20T10:25:10.000Z","dateUpdated":"2024-08-04T04:39:20.469Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-12-17T00:00:00.000Z"},"containers":{"cna":{"title":"Apache Airflow: Creating DagRuns didn't respect Dag-level permissions in the Webserver","descriptions":[{"lang":"en","value":"In Apache Airflow prior to 2.2.0. This CVE applies to a specific case where a User who has \"can_create\" permissions on DAG Runs can create Dag Runs for dags that they don't have \"edit\" permissions for."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow","versions":[{"version":"Apache Airflow 1.10 1.10.0 to 1.10.15","status":"affected"},{"version":"Apache Airflow 2","status":"affected","lessThan":"2.2.0","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread/m778ojn0k595rwco4ht9wjql89mjoxnl","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"Permission checks were limited.","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2022-01-20T10:25:10.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Airflow PMC would like to thank Franco Cano Erazo for reporting this issue."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"This is a very low severity CVE and admins can mitigate this issue by removing the global \"can_create\" permissions on DagRun for Airflow versions >=2.0.0,<2.2.0 and 1.10.x versions that have set `rbac=True` in config."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-45230","STATE":"PUBLIC","TITLE":"Apache Airflow: Creating DagRuns didn't respect Dag-level permissions in the Webserver"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Airflow","version":{"version_data":[{"version_affected":"<","version_name":"Apache Airflow 2","version_value":"2.2.0"},{"version_name":"Apache Airflow 1.10","version_value":"1.10.0 to 1.10.15"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Airflow PMC would like to thank Franco Cano Erazo for reporting this issue."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Apache Airflow prior to 2.2.0. This CVE applies to a specific case where a User who has \"can_create\" permissions on DAG Runs can create Dag Runs for dags that they don't have \"edit\" permissions for."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Permission checks were limited."}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread/m778ojn0k595rwco4ht9wjql89mjoxnl","refsource":"MISC","url":"https://lists.apache.org/thread/m778ojn0k595rwco4ht9wjql89mjoxnl"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"This is a very low severity CVE and admins can mitigate this issue by removing the global \"can_create\" permissions on DagRun for Airflow versions >=2.0.0,<2.2.0 and 1.10.x versions that have set `rbac=True` in config."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/m778ojn0k595rwco4ht9wjql89mjoxnl","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T04:39:20.469Z"}}]}}}