Skip to content

Apache Airflow vulnerable to OS Command Injection via example DAGs

High severity GitHub Reviewed Published Nov 14, 2022 to the GitHub Advisory Database • Updated Aug 31, 2023

Package

pip apache-airflow (pip)

Affected versions

< 2.4.0

Patched versions

2.4.0

Description

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow versions prior to 2.4.0.

References

Published by the National Vulnerability Database Nov 14, 2022
Published to the GitHub Advisory Database Nov 14, 2022
Reviewed Nov 16, 2022
Last updated Aug 31, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2022-40127

GHSA ID

GHSA-6pw3-8h9w-32gc

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.