CVE-2024-39877: apache software foundation apache airflow Code Injection
Vulnerability summary
CVE-2024-39877 is a high (CVSS 8.8) Code Injection vulnerability in apache software foundation apache airflow. EPSS estimates a 1.73% chance of exploitation in the next 30 days, higher than 77.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 17-07-2024PublishedVulnerability first disclosed.
- 13-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.73%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.73% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-277Insecure Inherited PermissionsA product defines a set of insecure permissions that are inherited by objects that are created by the program.
Affected systems
Chainguard2 products
- airflow< 2.9.3-r0
- airflow-bitnami-compat< 2.9.3-r0
Wolfi2 products
- airflow< 2.9.3-r0
- airflow-bitnami-compat< 2.9.3-r0
Apache1 product
- airflow≥ 2.4.0, < 2.9.3
Apache software foundation1 product
- apache airflow≥ 2.4.0, < 2.9.3
PyPI1 product
- apache-airflow≥ 2.4.0, < 2.9.3
5 vendors · 7 products
References
10 links- lists.apache.org/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1Vendor AdvisoryWEBARTICLEAdvisoryMailing List
- github.com/apache/airflowPACKAGE