Argo CD leaks repository credentials in user-facing error messages and in logs
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v2.6.0-rc1 have an output sanitization bug which leaks repository access credentials in error messages. These error messages are visible to the user, and they are logged. The error message is visible when a user attempts to create or update an Application via the Argo CD API (and therefor the UI or CLI). The user must have applications, create or applications, update RBAC access to reach the code which may produce the error. The user is not guaranteed to be able to trigger the error message. They may attempt to spam the API with requests to trigger a rate limit error from the upstream repository. If the user has repositories, update access, they may edit an existing repository to introduce a URL typo or otherwise force an error message. But if they have that level of access, they are probably intended to have access to the credentials anyway. A patch for this vulnerability has been released in version 2.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/argoproj/argo-cd/v2Go | >= 2.6.0-rc1, < 2.6.1 | 2.6.1 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
8- github.com/advisories/GHSA-mv6w-j4xc-qpfwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-25163ghsaADVISORY
- argo-cd.readthedocs.io/en/stable/operator-manual/rbacghsaWEB
- argo-cd.readthedocs.io/en/stable/operator-manual/rbac/mitrex_refsource_MISC
- github.com/argoproj/argo-cd/issues/12309ghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/pull/12320ghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/security/advisories/GHSA-mv6w-j4xc-qpfwghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2023-1548ghsaWEB
News mentions
0No linked articles in our index yet.