Advisory

GHSA-6pw3-8h9w-32gc

Also known as: BIT-airflow-2022-40127, CVE-2022-40127, PYSEC-2022-42982

Summary

Apache Airflow vulnerable to OS Command Injection via example DAGs

Details

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow versions prior to 2.4.0.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-14 12:00 UTC
Modified
2025-05-01 13:37 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

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

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