CVE-2023-51702 Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the Metadata and logged as plain text in the Triggerer service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Kubernetes
Description
Since version 5.2.0, when using deferrable mode with the path of a Kubernetes configuration file for authentication, the Airflow worker serializes this configuration file as a dictionary and sends it to the triggerer by storing it in metadata without any encryption. Additionally, if used with an Airflow version between 2.3.0 and 2.6.0, the configuration dictionary will be logged as plain text in the triggerer service without masking. This allows anyone with access to the metadata or triggerer log to obtain the configuration file and use it to access the Kubernetes cluster.
This behavior was changed in version 7.0.0, which stopped serializing the file contents and started providing the file path instead to read the contents into the trigger. Users are recommended to upgrade to version 7.0.0, which fixes this issue.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache airflow | >= 2.3.0, < 2.6.1 | 2.6.1 | Fixed |
| apache-airflow-providers-cncf-kubernetes | >= 5.2.0, < 7.0.0 | 7.0.0 | Fixed |
| pypi apache-airflow(PyPI) | = 2.3.0; = 2.3.1; = 2.3.1rc1; = 2.3.2 +41 more | 2.6.1 | Fixed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.0; = 5.2.1; = 5.2.1rc1; = 5.2.2 +10 more | 7.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow(PyPI) | >= 2.3.0, < 2.6.1 | 2.6.1 |
| pypi apache-airflow(PyPI) | = 2.3.0 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.1rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.2rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.2rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.3rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.3rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.3rc3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.4 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.3.4rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.0 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.0b1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.0rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.1rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.2rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.4.3rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.0 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.0rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.0rc2 | No fix listed |
Show 36 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-airflow(PyPI) | = 2.5.0rc3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.1rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.1rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.2rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.2rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.3rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.5.3rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0b1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0rc3 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0rc4 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.0rc5 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.1rc1 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.1rc2 | No fix listed |
| pypi apache-airflow(PyPI) | = 2.6.1rc3 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | >= 5.2.0, < 7.0.0 | 7.0.0 |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.0 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.1rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.2 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.2.2rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.3.0 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 5.3.0rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 6.0.0 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 6.0.0rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 6.1.0 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 6.1.0rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 6.2.0rc1 | No fix listed |
| pypi apache-airflow-providers-cncf-kubernetes(PyPI) | = 7.0.0rc2 | No fix listed |
| apache airflow | >= 2.3.0, < 2.6.1 | 2.6.1 |
| apache-airflow-providers-cncf-kubernetes | >= 5.2.0, < 7.0.0 | 7.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com issue-tracking patch
- github.com product
- lists.apache.org mailing-list vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- pypi.org product
- github.com vendor-advisory
- pypi.org product