Skip to content
OpenAdvisories
High · 8.8 CVE-2024-45498 BIT-airflow-2024-45498EUVD-2024-2767GHSA-c392-whpc-vfprPYSEC-2024-266

Apache Airflow: Command Injection in an example DAG

Published Sep 7, 2024 · Updated Nov 4, 2024 · Assigned by apache

Description

Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873  for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Airflow 2.10.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow 2.10.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-airflow >= 2.10.0, < 2.10.1 2.10.1 GHSA-c392-whpc-vfpr
PyPI apache-airflow <= 2.10.0-NA — PYSEC-2024-266

References