Information Exposure Affecting apache-airflow package, versions [,2.3.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (6th 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 IDSNYK-PYTHON-APACHEAIRFLOW-3014212
  • published2 Sept 2022
  • disclosed2 Sept 2022
  • creditHarry Sintonen

Introduced: 2 Sep 2022

CVE-2022-38170  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade apache-airflow to version 2.3.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Information Exposure due to an insecure umask that was configured for numerous Airflow components when running with the --daemon flag. Exploiting this behavior could result in a race condition giving world-writable files in the Airflow home directory and allowing local users to expose arbitrary file contents via the webserver.

Mitigation:

Run without the --deamon flag via a process supervisor instead (systemd, runit, etc.)

CVSS Scores

version 3.1