Advisory

GHSA-3v7g-4pg3-7r6j

Also known as: BIT-airflow-2022-24288, CVE-2022-24288, PYSEC-2022-30

Summary

OS Command injection in Apache Airflow

Details

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-26 00:00 UTC
Modified
2024-09-12 14:36 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.4 (ecosystem)

Fixed versions

2.2.4

Fix

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

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