Vulnerability · Published Sep 7, 2024 · Assigned by apache

CVE-2024-45498Apache Airflow: Command Injection in an example DAG

High 8.8

In plain English

A high-severity security flaw in Apache Airflow from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.2%top 30.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow2.10.1GHSA-c392-whpc-vfpr
PyPIapache-airflowno fix listedPYSEC-2024-266

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow 2.10.0

Weakness: CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References