Uncontrolled Resource Consumption vulnerability in ArgoCD's repo server
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of ArgoCD starting from v2.4 have a bug where the ArgoCD repo-server component is vulnerable to a Denial-of-Service attack vector. Specifically, it's possible to crash the repo server component through an out of memory error by pointing it to a malicious Helm registry. The loadRepoIndex() function in the ArgoCD's helm package, does not limit the size nor time while fetching the data. It fetches it and creates a byte slice from the retrieved data in one go. If the registry is implemented to push data continuously, the repo server will keep allocating memory until it runs out of it. A patch for this vulnerability has been released in v2.10.3, v2.9.8, and v2.8.12.
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 |
|---|---|---|
github.com/argoproj/argo-cd/v2Go | >= 2.4.0, < 2.8.14 | 2.8.14 |
github.com/argoproj/argo-cd/v2Go | >= 2.9.0, < 2.9.10 | 2.9.10 |
github.com/argoproj/argo-cd/v2Go | >= 2.10.0, < 2.10.5 | 2.10.5 |
Affected products
18- osv-coords17 versionspkg:apk/chainguard/argo-cd-2.9pkg:apk/chainguard/argo-cd-2.9-compatpkg:apk/chainguard/argo-cd-2.9-repo-serverpkg:apk/chainguard/argo-cd-fips-2.10pkg:apk/chainguard/argo-cd-fips-2.10-compatpkg:apk/chainguard/argo-cd-fips-2.10-repo-serverpkg:apk/chainguard/argo-cd-fips-2.8pkg:apk/chainguard/argo-cd-fips-2.8-compatpkg:apk/chainguard/argo-cd-fips-2.8-repo-serverpkg:apk/chainguard/argo-cd-fips-2.9pkg:apk/chainguard/argo-cd-fips-2.9-compatpkg:apk/chainguard/argo-cd-fips-2.9-repo-serverpkg:apk/wolfi/argo-cd-2.9pkg:apk/wolfi/argo-cd-2.9-compatpkg:apk/wolfi/argo-cd-2.9-repo-serverpkg:bitnami/argo-cdpkg:golang/github.com/argoproj/argo-cd/v2
< 2.9.10-r0+ 16 more
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.10.5-r0
- (no CPE)range: < 2.10.5-r0
- (no CPE)range: < 2.10.5-r0
- (no CPE)range: < 2.8.14-r0
- (no CPE)range: < 2.8.14-r0
- (no CPE)range: < 2.8.14-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: < 2.9.10-r0
- (no CPE)range: >= 2.4.0, < 2.10.5
- (no CPE)range: >= 2.4.0, < 2.8.14
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-jhwx-mhww-rgc3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-29893ghsaADVISORY
- github.com/argoproj/argo-cd/commit/14f681e3ee7c38731943b98f92277e88a3db109dghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/commit/36b8a12a38f8d92d55bffc81deed44389bf6eb59ghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/commit/3e5a878f6e30d935fa149723ea2a2e93748fcdddghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/security/advisories/GHSA-jhwx-mhww-rgc3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.