CVE-2023-51702
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
apache-airflowPyPI | >= 2.3.0, < 2.6.1 | 2.6.1 |
apache-airflow-providers-cncf-kubernetesPyPI | >= 5.2.0, < 7.0.0 | 7.0.0 |
Affected products
7- osv-coords3 versions
>= 2.3.0, < 2.6.1+ 2 more
- (no CPE)range: >= 2.3.0, < 2.6.1
- (no CPE)range: >= 2.3.0, < 2.6.1
- (no CPE)range: >= 5.2.0, < 7.0.0
- cpe:2.3:a:apache:apache-airflow-providers-cncf-kubernetes:*:*:*:*:*:*:*:*Range: >=5.2.0,<7.0.0
- Range: 5.2.0
Patches
Vulnerability mechanics
References
7- github.com/apache/airflow/pull/29498nvdIssue TrackingPatchWEB
- github.com/apache/airflow/pull/30110nvdPatchWEB
- github.com/apache/airflow/pull/36492nvdIssue TrackingPatchWEB
- www.openwall.com/lists/oss-security/2024/01/24/3nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-mg2x-mggj-6955ghsaADVISORY
- lists.apache.org/thread/89x3q6lz5pykrkr1fkr04k4rfn9pvnv9nvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-51702ghsaADVISORY
News mentions
0No linked articles in our index yet.