CVE-2024-39877

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

State
Published
Severity
8.8 High
Published
Jul 17, 2024
Updated
Sep 13, 2024
Reserved
Jul 1, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-277 Insecure Inherited Permissions

Affected Products

ProductVersions
Apache AirflowApache Software Foundation
  • 2.4.0 to before 2.9.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.