Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow-providers-cncf-kubernetes
  4. ›
  5. CVE-2023-51702

CVE-2023-51702: Insertion of Sensitive Information into Log File

January 24, 2024

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.

References

  • www.openwall.com/lists/oss-security/2024/01/24/3
  • github.com/advisories/GHSA-mg2x-mggj-6955
  • github.com/apache/airflow/pull/29498
  • github.com/apache/airflow/pull/30110
  • github.com/apache/airflow/pull/36492
  • lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9
  • nvd.nist.gov/vuln/detail/CVE-2023-51702

Code Behaviors & Features

Detect and mitigate CVE-2023-51702 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.2.0 before 7.0.0

Fixed versions

  • 7.0.0

Solution

Upgrade to version 7.0.0 or above.

Weakness

  • CWE-312: Cleartext Storage of Sensitive Information
  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/apache-airflow-providers-cncf-kubernetes/CVE-2023-51702.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.