6.5medium
Apache Airflow: Missing CSRF protection on DAG/trigger
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.03% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-6m9r-7wrx-xmr6BIT-AIRFLOW-2023-49920PYSEC-2023-266
Description
Apache Airflow, version 2.7.0 through 2.7.3, has a vulnerability that allows an attacker to trigger a DAG in a GET request without CSRF validation. As a result, it was possible for a malicious website opened in the same browser - by the user who also had Airflow UI opened - to trigger the execution of DAGs without the user's consent. Users are advised to upgrade to version 2.8.0 or later which is not affected
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow | from 2.7.0 before 2.8.0 | CVE List |
| apache-airflow (PyPI) | from 2.7.0 before 2.8.0, from 2.7.0 before 2.8.0b1 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | from 2.7.0 up to 2.7.3 | NVD |
| airflow (Bitnami) | from 2.7.0 before 2.7.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Apache Airflow, version 2.7.0 through 2.7.3, has a vulnerability that allows an attacker to trigger a DAG in a GET request without CSRF validation. As a result, it was possible for a malicious website opened in the same browser - by the user who also had Airflow UI opened - to trigger the execution of DAGs without the user's consent. Users are advised to upgrade to version 2.8.0 or later which is not affected
NVD (es)
Apache Airflow, desde versión 2.7.0 a 2.7.3, tiene una vulnerabilidad que permite a un atacante activar un DAG en una solicitud GET sin validación CSRF. Como resultado, era posible que un sitio web malicioso abierto en el mismo navegador (por el usuario que también tenía abierta la interfaz de usuario de Airflow) desencadenara la ejecución de DAG sin el consentimiento del usuario. Se recomienda a los usuarios que actualicen a la versión 2.8.0 o posterior, que no se ve afectada.
References
| https://github.com/apache/airflow/pull/36026 | fix, patch, web | |
| https://lists.apache.org/thread/mnwd2vcfw3gms6ft6kl951vfbqrxsnjq | advisory, article, mailing-list, third-party-advisory, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/12/21/3 | advisory, article, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-49920 | advisory, web | |
| https://github.com/apache/airflow/commit/f5d802791fa5f6b13b635f06a1ea2eccc22a9ba7 | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-266.yaml | web | |
| https://github.com/advisories/GHSA-6m9r-7wrx-xmr6 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-49920 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6m9r-7wrx-xmr6 changed 2024-11-21 | CC-BY-4.0 |
| NVD | CVE-2023-49920 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2023-266 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2023-49920 changed 2026-09-08 | Apache-2.0 |