CVE-2024-39877 json
Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler
published 2024-07-17 2 y ago modified 2026-11-04 5 d ago also BIT-airflow-2024-39877 , EUVD-2024-0011 , GHSA-g5hv-r743-v8pm , PYSEC-2024-190
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi apache-airflow 2.9.3
- bitnami airflow 2.9.3
- Apache Software Foundation Apache Airflow 2.9.3
- apache airflow 2.9.3
- github.com/apache/airflow@8159f6e commit
- github.com/apache/airflow#40522 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow | >=2.4.0, <2.9.3 |
2.9.3 |
| bitnami | airflow | >=2.4.0, <2.9.3 |
2.9.3 |
Affected products
- Apache Software Foundation Apache Airflow
- apache airflow
Classification
References
-
github.com
/apache/airflow/pull/40522
patch, web, issue-tracking, report
-
github.com
/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531
web
-
lists.apache.org
/thread/1xhj9dkp37d6pzn24ll2mf94wbqnb2y1
vendor-advisory, web, mailing-list, discussion, article
-
openwall.com
/lists/oss-security/2024/07/16/7
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-39877
advisory, web
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-190.yaml
web
-
github.com
/advisories/GHSA-g5hv-r743-v8pm
advisory
Sources
- CVE List CVE-2024-39877
- GitHub Advisory GHSA-g5hv-r743-v8pm
- NVD CVE-2024-39877
- OSV BIT-airflow-2024-39877
- OSV PYSEC-2024-190
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.