{"id":"CVE-2023-51702","state":"PUBLISHED","title":"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","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.\n\nThis 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.","publishedAt":"2024-01-24T12:56:17.869Z","updatedAt":"2025-06-11T16:48:05.292Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Airflow CNCF Kubernetes provider","Apache Software Foundation Apache Airflow"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow CNCF Kubernetes provider","packageName":"apache-airflow-providers-cncf-kubernetes","defaultStatus":"unaffected","versions":[{"version":"5.2.0","status":"affected","lessThan":"7.0.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"},{"vendor":"Apache Software Foundation","product":"Apache Airflow","packageName":"apache-airflow","defaultStatus":"unaffected","versions":[{"version":"2.3.0","status":"affected","lessThan":"2.6.1","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":["https://github.com/apache/airflow/pull/29498","https://github.com/apache/airflow/pull/30110","https://github.com/apache/airflow/pull/36492","https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9","http://www.openwall.com/lists/oss-security/2024/01/24/3"],"weaknesses":["CWE-532","CWE-312"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/51xxx/CVE-2023-51702.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-51702","state":"PUBLISHED","datePublished":"2024-01-24T12:56:17.869Z","dateUpdated":"2025-06-11T16:48:05.292Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2023-12-21T22:59:06.988Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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.\n\nThis 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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow CNCF Kubernetes provider","packageName":"apache-airflow-providers-cncf-kubernetes","defaultStatus":"unaffected","versions":[{"version":"5.2.0","status":"affected","lessThan":"7.0.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"},{"vendor":"Apache Software Foundation","product":"Apache Airflow","packageName":"apache-airflow","defaultStatus":"unaffected","versions":[{"version":"2.3.0","status":"affected","lessThan":"2.6.1","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://github.com/apache/airflow/pull/29498","tags":["patch"]},{"url":"https://github.com/apache/airflow/pull/30110","tags":["patch"]},{"url":"https://github.com/apache/airflow/pull/36492","tags":["patch"]},{"url":"https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/3"}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532 Insertion of Sensitive Information into Log File","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-312","description":"CWE-312 Cleartext Storage of Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2024-01-24T13:00:12.306Z"},"credits":[{"lang":"en","type":"finder","value":"Hussein Awala"},{"lang":"en","type":"remediation developer","value":"Hussein Awala"}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/apache/airflow/pull/29498","tags":["patch","x_transferred"]},{"url":"https://github.com/apache/airflow/pull/30110","tags":["patch","x_transferred"]},{"url":"https://github.com/apache/airflow/pull/36492","tags":["patch","x_transferred"]},{"url":"https://lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/3","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:40:34.203Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-01-29T16:36:41.716962Z","id":"CVE-2023-51702","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-11T16:48:05.292Z"}}]}}}