PT-2023-27223

CVE-2023-40029

·

Published

2023-09-07

·

Updated

2024-08-21

Description by

CVSS 3.1
9.9
Critical
MetricsAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions Argo CD versions prior to 2.6.15 Argo CD versions prior to 2.7.14 Argo CD versions prior to 2.8.3
Description Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively using Argo CD / kubectl apply, resulting in the full secret body being stored in the kubectl.kubernetes.io/last-applied-configuration annotation. This exposes the annotation, which includes the full secret body, when managing cluster labels and annotations. To view cluster annotations via the Argo CD API, a user must have clusters, get RBAC access. In many cases, cluster secrets do not contain sensitive information, but sometimes, as in bearer-token auth, the contents might be very sensitive.
Recommendations For versions prior to 2.6.15, upgrade to version 2.6.15 or later. For versions prior to 2.7.14, upgrade to version 2.7.14 or later. For versions prior to 2.8.3, upgrade to version 2.8.3 or later. As a temporary workaround, update/deploy cluster secret with the server-side-apply flag, which does not use or rely on the kubectl.kubernetes.io/last-applied-configuration annotation. Note that annotations for existing secrets will require manual removal.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-FWR2-64VR-XV9M
BIT-ARGO-CD-2023-40029
GO-2023-2049
Found an issue in the description? Have something to add? Feel free to write us 👾