Advisory

PYSEC-2021-4

Also known as: BIT-airflow-2021-28359, CVE-2021-28359, GHSA-3xxv-p78r-4fc6

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2021-05-02 08:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 1.8.1, fixed 1.10.15, introduced 2.0.0, fixed 2.0.2 (ecosystem)

Fixed versions

1.10.15, 2.0.2

Fix

  • Fixed version 1.10.15
    pip install --upgrade apache-airflow==1.10.15
  • 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: PyPA Advisory Database · CC BY 4.0

Sources & licences