Cross-site Scripting in Apache Airflow
Medium6.1CVE-2021-28359 · Published Jun 18, 2021 · updated Sep 12, 2024
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).
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 1.10.15 | 1.10.15 |
| >= 2.0.0a1, < 2.0.2 | 2.0.2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- BIT-airflow-2021-28359, CVE-2021-28359, PYSEC-2021-4
- nvd.nist.gov/vuln/detail/CVE-2021-28359
- github.com/apache/airflow/commit/2fef2ab1bf0f8c727a503940c9c65fd5be208386
- github.com/advisories/GHSA-3xxv-p78r-4fc6
- github.com/apache/airflow
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2021-4.yaml
- lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E
- lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432@%3Cannounce.apache.org%3E
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 182021 | Improper Authentication in Apache Airflow | Medium5.3 | 2.0.1rc1 |
| Jun 182021 | Apache Airflow Cross-site Scripting | Medium6.1 | 1.10.12 |
| Apr 302021 | Authentication bypass in Apache Airflow | Critical9.8 | 1.10.11 |
| Apr 202021 | Incorrect Session Validation in Apache Airflow | High7.7 | 1.10.14 |
| Apr 202021 | Apache Airflow cross-site scripting due to incomplete fix for CVE-2020-13944 | Medium6.1 | 1.10.15rc1+1 more |
| Apr 72021 | Improper Access Control in Apache Airflow | High6.5 | 2.0.1rc1 |