GitHub Advisory Database
GHSA-6pw3-8h9w-32gc
Apache Airflow vulnerable to OS Command Injection via example DAGs
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | apache-airflow | All versions before 2.4.0 (fixed in 2.4.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40127
- https://github.com/apache/airflow/pull/25960
- https://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml
- https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
- http://www.openwall.com/lists/oss-security/2022/11/14/2