oss-sec mailing list archives

CVE-2024-39877: Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler


From: Ephraim Anierobi <ephraimanierobi () apache org>
Date: Tue, 16 Jul 2024 12:08:54 +0000

Severity: important

Affected versions:

- Apache Airflow 2.4.0 before 2.9.3

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.

Credit:

Seokchan Yoon (https://github.com/ch4n3-yoon) (finder)
Wei Lee (remediation developer)

References:

https://github.com/apache/airflow/pull/40522
https://airflow.apache.org/
https://www.cve.org/CVERecord?id=CVE-2024-39877


Current thread: