CVE-2023-51702
CVE-2023-51702 is a medium-severity vulnerability in Apache Airflow with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-312.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (30th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0386
- Weakness: CWE-312
- Affected product: Apache Airflow
- Published:
- Last modified:
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. 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.
Frequently asked questions
- What is 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.
- How severe is CVE-2023-51702?
- CVE-2023-51702 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-51702 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (30th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-51702?
- CVE-2023-51702 primarily affects Apache Airflow. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-51702?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2023-51702 have an EU (EUVD) identifier?
- Yes. CVE-2023-51702 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0386.
- When was CVE-2023-51702 published?
- CVE-2023-51702 was published on 2024-01-24 and last updated on 2026-07-02.
References
- http://www.openwall.com/lists/oss-security/2024/01/24/3
- 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
Affected products (2)
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:apache-airflow-providers-cncf-kubernetes:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Airflow
- CVE-2023-25754 — Critical (CVSS 9.8): Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache…
- CVE-2023-22884 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software…
- CVE-2022-40189 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38649 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2022-38054 — Critical (CVSS 9.8): In Apache Airflow versions 2.2.4 through 2.3.3, the `database` webserver session backend was susceptible to session…
- CVE-2021-38540 — Critical (CVSS 9.8): The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed…
All CVEs affecting Apache Airflow →
Other CWE-312 (Cleartext Storage of Sensitive Information) vulnerabilities
- CVE-2022-43757 — Critical (CVSS 9.9): A Cleartext Storage of Sensitive Information vulnerability in SUSE Rancher allows users on managed clusters to gain…
- CVE-2021-36782 — Critical (CVSS 9.9): A Cleartext Storage of Sensitive Information vulnerability in SUSE Rancher allows authenticated Cluster Owners, Cluster…
- CVE-2020-9045 — Critical (CVSS 9.9): During installation or upgrade to Software House C•CURE 9000 v2.70 and American Dynamics victor Video Management…
- CVE-2026-31848 — Critical (CVSS 9.8): Nexxt Solutions Nebula 300+ firmware through version 12.01.01.37 uses the ecos_pw cookie for authentication, which…
- CVE-2025-65826 — Critical (CVSS 9.8): The mobile application was found to contain stored credentials for the network it was developed on. If an attacker…
- CVE-2025-34206 — Critical (CVSS 9.8): Vasion Print (formerly PrinterLogic) Virtual Appliance Host and Application (VA and SaaS deployments) mount host…
Browse all CWE-312 (Cleartext Storage of Sensitive Information) vulnerabilities →