high8.8
CVE-2022-40127
Apache Airflow vulnerable to OS Command Injection via example DAGs
Impact
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 | Fixed in |
|---|---|---|---|
| pip | apache-airflow | < 2.4.0 | 2.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Airflow | before 2.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2022/11/14/2
- https://github.com/apache/airflow/pull/25960
- https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
- https://github.com/advisories/GHSA-6pw3-8h9w-32gc
- https://nvd.nist.gov/vuln/detail/CVE-2022-40127
- https://github.com/apache/airflow/commit/372e699c2d1e11f7087b5340454d0a0a6a56fbf5
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-42982.yaml