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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
13.77% (96th 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-3121045
  • published16 Nov 2022
  • disclosed14 Nov 2022
  • creditL3yx

Introduced: 14 Nov 2022

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

How to fix?

Upgrade apache-airflow to version 2.4.0 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 by allowing an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter.

Workaround

Users who are unable to upgrade to the fixed version should not enable example dags on systems that should not allow UI user to execute an arbitrary command.

CVSS Scores

version 3.1