high8.8
CVE-2024-39877
Apache Airflow has DAG Author Code Execution possibility in airflow-scheduler
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | apache-airflow | >= 2.4.0, < 2.9.3 | 2.9.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Airflow | from 2.4.0 before 2.9.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/apache/airflow/pull/40522
- https://lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1
- http://www.openwall.com/lists/oss-security/2024/07/16/7
- https://github.com/advisories/GHSA-g5hv-r743-v8pm
- https://nvd.nist.gov/vuln/detail/CVE-2024-39877
- https://github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml