Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-29893 BIT-argo-cd-2024-29893EUVD-2024-0949GHSA-jhwx-mhww-rgc3GO-2024-2667

Uncontrolled Resource Consumption vulnerability in ArgoCD's repo server

Published Mar 29, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
argoproj argo-cd >= 2.4.0, < 2.8.14, >= 2.9.0, < 2.9.10, >= 2.10.0, < 2.10.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Openshift Gitops 1 microshift-gitops +3 1.12.1-4.el9 RHSA-2024:1752

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/argoproj/argo-cd/v2 >= 2.4.0, < 2.8.14 2.8.14 GHSA-jhwx-mhww-rgc3
Go github.com/argoproj/argo-cd/v2 >= 2.9.0, < 2.9.10 2.9.10 GHSA-jhwx-mhww-rgc3
Go github.com/argoproj/argo-cd/v2 >= 2.10.0, < 2.10.5 2.10.5 GHSA-jhwx-mhww-rgc3
Go github.com/argoproj/argo-cd/v2 >= 2.4.0, < 2.8.14 · >= 2.9.0, < 2.9.10 · >= 2.10.0, < 2.10.5 2.8.14, 2.9.10, 2.10.5 GO-2024-2667

Advisories 2

References