Cleartext Storage of Sensitive Information
CVE-2023-51702
Summary
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 triggered by storing it in metadata without any encryption. This issue affects apache-airflow-providers-cncf-kubernetes in versions 5.2.0rc1 through 6.2.0rc1. Additionally, if used with apache-airflow versions 2.3.0b1 through 2.6.0 the configuration dictionary will be logged as plain text in the trigger service without masking. This allows anyone with access to the metadata or trigger log to obtain the configuration file and use it to access the Kubernetes cluster. This behavior was changed in version 7.0.0 of apache-airflow-providers-cncf-kubernetes, which stopped serializing the file contents and started providing the file path instead of reading the contents into the trigger. Users are recommended to upgrade to version 7.0.0, which fixes this issue.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- LOW
- HIGH
- NONE
CWE-312 - Cleartext Storage of Sensitive Information
The application stores sensitive information in cleartext within a resource that might be accessible to another control sphere.
Advisory Timeline
- Published