CVE-2024-56373
Description
DAG Author (who already has quite a lot of permissions) could manipulate database of Airflow 2 in the way to execute arbitrary code in the web-server context, which they should normally not be able to do, leading to potentially remote code execution in the context of web-server (server-side) as a result of a user viewing historical task information. The functionality responsible for that (log template history) has been disabled by default in 2.11.1 and users should upgrade to Airflow 3 if they want to continue to use log template history. They can also manually modify historical log file names if they want to see historical logs that were generated before the last log template change.
How to fix
- apache airflow2.11.1 or later
- apache-airflow2.11.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache airflow | v < 2.11.1 | 2.11.1 |
| apache-airflowPyPI | v < 2.11.1 | 2.11.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.