Advisory

GHSA-3xxv-p78r-4fc6

Also known as: BIT-airflow-2021-28359, CVE-2021-28359, PYSEC-2021-4

Summary

Cross-site Scripting in Apache Airflow

Details

The "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XSS exploit. This issue affects Apache Airflow versions <1.10.15 in 1.x series and affects 2.0.0 and 2.0.1 and 2.x series. This is the same as CVE-2020-13944 & CVE-2020-17515 but the implemented fix did not fix the issue completely. Update to Airflow 1.10.15 or 2.0.2. Please also update your Python version to the latest available PATCH releases of the installed MINOR versions, example update to Python 3.6.13 if you are on Python 3.6. (Those contain the fix for CVE-2021-23336 https://nvd.nist.gov/vuln/detail/CVE-2021-23336).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-18 18:43 UTC
Modified
2024-09-12 14:22 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 0, fixed 1.10.15 (ecosystem)

Fixed versions

1.10.15

Fix

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

apache-airflow

PyPI · All systems

Affected

  • introduced 2.0.0a1, fixed 2.0.2 (ecosystem)

Fixed versions

2.0.2

Fix

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

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