CVE-2023-51702

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:airflow_cncf_kubernetes:*:*:*:*:*:*:*:*

History

30 Jan 2024, 23:00

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2024/01/24/3 - () http://www.openwall.com/lists/oss-security/2024/01/24/3 - Mailing List, Third Party Advisory
References () https://github.com/apache/airflow/pull/29498 - () https://github.com/apache/airflow/pull/29498 - Issue Tracking, Patch
References () https://github.com/apache/airflow/pull/30110 - () https://github.com/apache/airflow/pull/30110 - Patch
References () https://github.com/apache/airflow/pull/36492 - () https://github.com/apache/airflow/pull/36492 - Issue Tracking, Patch
References () https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9 - () https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9 - Mailing List, Vendor Advisory
CPE cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:airflow_cncf_kubernetes:*:*:*:*:*:*:*:*
First Time Apache
Apache airflow
Apache airflow Cncf Kubernetes
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

24 Jan 2024, 15:15

Type Values Removed Values Added
Summary
  • (es) Desde la versión 5.2.0, cuando se utiliza el modo diferible con la ruta de un archivo de configuración de Kubernetes para la autenticación, el trabajador de Airflow serializa este archivo de configuración como un diccionario y lo envía al activador almacenándolo en metadatos sin ningún cifrado. Además, si se utiliza con una versión de Airflow entre 2.3.0 y 2.6.0, el diccionario de configuración se registrará como texto plano en el servicio activador sin enmascaramiento. Esto permite que cualquier persona con acceso a los metadatos o al registro del activador obtenga el archivo de configuración y lo utilice para acceder al clúster de Kubernetes. Este comportamiento se cambió en la versión 7.0.0, que dejó de serializar el contenido del archivo y comenzó a proporcionar la ruta del archivo para leer el contenido en el activador. Se recomienda a los usuarios actualizar a la versión 7.0.0, que soluciona este problema.
References
  • () http://www.openwall.com/lists/oss-security/2024/01/24/3 -

24 Jan 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-24 13:15

Updated : 2024-01-30 23:00


NVD link : CVE-2023-51702

Mitre link : CVE-2023-51702

CVE.ORG link : CVE-2023-51702


JSON object : View

Products Affected

apache

  • airflow
  • airflow_cncf_kubernetes
CWE
CWE-312

Cleartext Storage of Sensitive Information

CWE-532

Insertion of Sensitive Information into Log File