cve.bz

CVE-2023-40029 argoproj argo cd

9.6 criticalExploit referenceEPSS 1.2%Fix available

Critical (9.6) in argoproj argo cd. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/argoproj/argo-cd/v2 2.6.15, 2.7.14, 2.8.3.

On this page
Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively using Argo CD / kubectl apply. As a result, the full secret body is stored in`kubectl.kubernetes.io/last-applied-configuration` annotation. pull request #7139 introduced the ability to manage cluster labels and annotations. Since clusters are stored as secrets it also exposes the `kubectl.kubernetes.io/last-applied-configuration` annotation which includes full secret body. In order to view the cluster annotations via the Argo CD API, the user must have `clusters, get` RBAC access. **Note:** In many cases, cluster secrets do not contain any actually-secret information. But sometimes, as in bearer-token auth, the contents might be very sensitive. The bug has been patched in versions 2.8.3, 2.7.14, and 2.6.15. Users are advised to upgrade. Users unable to upgrade should update/deploy cluster secret with `server-side-apply` flag which does not use or rely on `kubectl.kubernetes.io/last-applied-configuration` annotation. Note: annotation for existing secrets will require manual removal.

Severity

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-09-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-532 Insertion of Sensitive Information into Log File
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control, A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-40029 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40029?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40029?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40029 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
argoproj:argo_cdfrom 2.2.0 before 2.6.15
argoproj:argo_cdfrom 2.7.0 before 2.7.14
argoproj:argo_cdfrom 2.8.0 before 2.8.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fwr2-64vr-xv9mGogithub.com/argoproj/argo-cd/v2>=2.2.0 <2.6.152.6.15
GHSA-fwr2-64vr-xv9mGogithub.com/argoproj/argo-cd/v2>=2.7.0 <2.7.142.7.14
GHSA-fwr2-64vr-xv9mGogithub.com/argoproj/argo-cd/v2>=2.8.0 <2.8.32.8.3
GO-2023-2049Gogithub.com/argoproj/argo-cdall versionsno fix published
GO-2023-2049Gogithub.com/argoproj/argo-cd/v2>=2.2.0 <2.6.15
>=2.7.0 <2.7.14
>=2.8.0 <2.8.3
2.6.15, 2.7.14, 2.8.3

Red Hat

Red Hat rates this Critical.

Red Hat's mitigation

Update/deploy the cluster secret with the`server-side-apply` flag, which does not use or rely on the `kubectl.kubernetes.io/last-applied-configuration` <http://kubectl.kubernetes.io/last-applied-configuration> annotation.

Note: Annotation for existing secrets will require manual removal.

ProductPackageStateAdvisory
Red Hat OpenShift GitOps 1.8openshift-gitops-1/argocd-rhel8:v1.8.5-1Fixed 2023-09-08RHSA-2023:5030
Red Hat OpenShift GitOps 1.9openshift-gitops-1/argocd-rhel8:v1.9.2-2Fixed 2023-09-08RHSA-2023:5029

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-40029.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON