CVE-2024-45784
Apache Airflow: Sensitive configuration values are not masked in the logs by default
In short
Apache Airflow before version 2.10.3 fails to automatically mask sensitive configuration values (like passwords and API keys) in task logs, allowing unauthorized users who can read the logs to discover and misuse these secrets.
Technical detail
Airflow versions <2.10.3 lack default masking of sensitive configuration variables in task logging output, enabling DAG authors or attackers with log access to extract credentials. The vulnerability requires log access but no special privileges to exploit; mitigation in 2.10.3 implements automatic secret masking in logs.
Summary generated and translated by AI from the official description.
Apache Airflow versions before 2.10.3 contain a vulnerability that could expose sensitive configuration variables in task logs. This vulnerability allows DAG authors to unintentionally or intentionally log sensitive configuration variables. Unauthorized users could access these logs, potentially exposing critical data that could be exploited to compromise the security of the Airflow deployment. In version 2.10.3, secrets are now masked in task logs to prevent sensitive configuration variables from being exposed in the logging output. Users should upgrade to Airflow 2.10.3 or the latest version to eliminate this vulnerability. If you suspect that DAG authors could have logged the secret values to the logs and that your logs are not additionally protected, it is also recommended that you update those secrets.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
Apache Software Foundation · Apache AirflowWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →