CVE-2023-40029: Argo CD cluster secret might leak in cluster details page
9.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70932%
CWE
Published
9/11/2023
Updated
11/5/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/argoproj/argo-cd/v2 | go | >= 2.2.0, < 2.6.15 | 2.6.15 |
github.com/argoproj/argo-cd/v2 | go | >= 2.7.0, < 2.7.14 | 2.7.14 |
github.com/argoproj/argo-cd/v2 | go | >= 2.8.0, < 2.8.3 | 2.8.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of Kubernetes last-applied-configuration annotations in cluster secrets. The clusterToSecret function lacked validation to prevent storage of this annotation, while SecretToCluster failed to strip it when exposing cluster details. The security patches (44e52c4, 4b2e5b0) explicitly add annotation validation in clusterToSecret and annotation stripping in SecretToCluster, confirming these were the vulnerable points. These functions directly handle secret/cluster conversion and annotation management, making them the clear vulnerability sources.