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
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
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/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://github.com/apache/airflow/pull/29498 - () https://github.com/apache/airflow/pull/29498 - 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_cncf_kubernetes:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
First Time Apache
Apache airflow Cncf Kubernetes
Apache airflow

24 Jan 2024, 15:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/01/24/3 -

24 Jan 2024, 13:49

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-24 13:15

Updated : 2024-02-28 20:54


NVD link : CVE-2023-51702

Mitre link : CVE-2023-51702

CVE.ORG link : CVE-2023-51702


JSON object : View

Products Affected

apache

  • airflow_cncf_kubernetes
  • airflow
CWE
CWE-312

Cleartext Storage of Sensitive Information

CWE-532

Insertion of Sensitive Information into Log File