6.5medium
Apache Airflow: Secrets can be unmasked in the "Rendered Template"
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.00% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-mjqh-v5f2-g2mwBIT-AIRFLOW-2023-40712PYSEC-2023-171
Description
Apache Airflow, versions before 2.7.1, is affected by a vulnerability that allows authenticated users who have access to see the task/dag in the UI, to craft a URL, which could lead to unmasking the secret configuration of the task that otherwise would be masked in the UI. Users are strongly advised to upgrade to version 2.7.1 or later which has removed the vulnerability.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Airflow | before 2.7.1 | CVE List |
| apache-airflow (PyPI) | before 2.7.1 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 2.7.1 | NVD |
| airflow (Bitnami) | before 2.7.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Apache Airflow, versions before 2.7.1, is affected by a vulnerability that allows authenticated users who have access to see the task/dag in the UI, to craft a URL, which could lead to unmasking the secret configuration of the task that otherwise would be masked in the UI. Users are strongly advised to upgrade to version 2.7.1 or later which has removed the vulnerability.
NVD (es)
Apache Airflow, versiones anteriores a la 2.7.1, se ve afectada por una vulnerabilidad que permite a los usuarios autenticados que tienen acceso para ver la tarea/dag en la interfaz de usuario crear una URL, lo que podría llevar a desenmascarar la configuración secreta de la tarea que de otro modo estar enmascarado en la interfaz UI. Se recomienda encarecidamente a los usuarios que actualicen a la versión 2.7.1 o posterior, que ha eliminado la vulnerabilidad.
References
| https://github.com/apache/airflow/pull/33512 | advisory, patch, vendor-advisory, web | |
| https://github.com/apache/airflow/pull/33516 | advisory, patch, vendor-advisory, web | |
| https://lists.apache.org/thread/jw1yv4lt6hpowqbb0x4o3tdp0jhx2bts | advisory, mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-40712 | advisory, web | |
| https://github.com/apache/airflow/commit/4390524a41fdfd2d57f1d2dc98ad7b4009c8399e | web | |
| https://github.com/apache/airflow/commit/d9814eb3a2fc1dbbb885a0a2c1b7a23ce1cfa148 | web | |
| https://github.com/apache/airflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2023-171.yaml | web | |
| https://github.com/advisories/GHSA-mjqh-v5f2-g2mw | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40712 changed 2024-09-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mjqh-v5f2-g2mw changed 2024-11-22 | CC-BY-4.0 |
| NVD | CVE-2023-40712 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2023-171 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2023-40712 changed 2026-09-08 | Apache-2.0 |