Vulnerability · Published Nov 8, 2024 · Assigned by apache

CVE-2024-50378Apache Airflow: Secrets not masked in UI when sensitive variables are set via Airflow cli

Medium 4.9

In plain English

A medium-severity security flaw in Apache Airflow from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)1.2%top 30.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Airflow versions before 2.10.3 have a vulnerability that allows authenticated users with audit log access to see sensitive values in audit logs which they should not see. When sensitive variables were set via airflow CLI, values of those variables appeared in the audit log and were stored unencrypted in the Airflow database. While this risk is limited to users with audit log access, it is recommended to upgrade to Airflow 2.10.3 or a later version, which addresses this issue. Users who previously used the CLI to set secret variables should manually delete entries with those variables from the log table.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow2.10.3GHSA-j857-2pwm-jjmm
PyPIapache-airflow2.10.3PYSEC-2026-1134

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow 0 – before 2.10.3

Weakness: CWE-201 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

References