GHSA-g5hv-r743-v8pm
Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler
At a glance
- Published
- Updated
- CVE
- CVE-2024-39877
- Aliases
- BIT-airflow-2024-39877, PYSEC-2024-190
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according to the Airflow Security model. Users should upgrade to version 2.9.3 or later which has removed the vulnerability.
Affected packages
| Package | Versions |
|---|---|
| PyPI · apache-airflow | introduced 2.4.0, fixed 2.9.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-39877 ADVISORY
- https://github.com/apache/airflow/pull/40522 WEB
- https://github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531 WEB
- https://github.com/apache/airflow PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml WEB
- https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1 WEB
- http://www.openwall.com/lists/oss-security/2024/07/16/7 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |