Command Injection Affecting apache-airflow package, versions [,2.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
94.25% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOW-2413442
  • published25 Feb 2022
  • disclosed25 Feb 2022
  • creditKai Zhao of the TToU Security Team

Introduced: 25 Feb 2022

CVE-2022-24288  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade apache-airflow to version 2.2.4 or higher.

Overview

apache-airflow is a platform to programmatically author, schedule, and monitor workflows.

Affected versions of this package are vulnerable to Command Injection via example DAGs that accept user provided parameters as a result of a lacking sanitization process, making them susceptible to OS Command Injection from the web UI.

Workaround

It is possible to set [core] load_examples to False and invalidate this vector.

CVSS Scores

version 3.1