Advisory

GHSA-g5hv-r743-v8pm

Also known as: BIT-airflow-2024-39877, CVE-2024-39877, PYSEC-2024-190

Summary

Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler

Details

Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according to the Airflow Security model. Users should upgrade to version 2.9.3 or later which has removed the vulnerability.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-07-17 09:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 2.4.0, fixed 2.9.3 (ecosystem)

Fixed versions

2.9.3

Fix

  • Fixed version 2.9.3
    pip install --upgrade apache-airflow==2.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences