Apache Airflow: 3.x - Nested Variable Secret Values Bypass Redaction via max_depth=1
Apache Software Foundation Apache Airflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| apache-airflow-core PyPI |
|
|
| apache-airflow PyPI |
|
|
Apache Software Foundation Apache Airflow
| Product | Affected | Fixed in |
|---|---|---|
| apache-airflow-core PyPI |
|
|
| apache-airflow PyPI |
|
|
Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retrieved by the user the secrets stored as nested fields were not masked.
If you do not store variables with sensitive values in JSON form, you are not affected. Otherwise please upgrade to Apache Airflow 3.2.0 that has the fix implemented
From the CVE record · apache
Apache Airflow does not properly redact secrets stored in nested fields of Variables saved as JSON dictionaries. A user who retrieves those Variables can see the unmasked secrets; installations that do not store sensitive values in JSON Variables are unaffected.
Operators using PyPI apache-airflow or apache-airflow-core versions 3.0.0 through versions before 3.2.0 should check whether they store sensitive values in JSON Variables.