apache/airflow · Security
Apache Airflow vulnerable to OS Command Injection via example DAGs
- GHSA ID
- GHSA-6pw3-8h9w-32gc
- CVE ID
- CVE-2022-40127
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40127 ↗
- https://github.com/apache/airflow/pull/25960 ↗
- https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy ↗
- http://www.openwall.com/lists/oss-security/2022/11/14/2 ↗
- https://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml ↗
- https://github.com/advisories/GHSA-6pw3-8h9w-32gc ↗