Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd/v2
  4. ›
  5. CVE-2024-29893

CVE-2024-29893: ArgoCD's repo server has Uncontrolled Resource Consumption vulnerability

March 29, 2024

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.

References

  • github.com/advisories/GHSA-jhwx-mhww-rgc3
  • github.com/argoproj/argo-cd
  • github.com/argoproj/argo-cd/commit/14f681e3ee7c38731943b98f92277e88a3db109d
  • github.com/argoproj/argo-cd/commit/36b8a12a38f8d92d55bffc81deed44389bf6eb59
  • github.com/argoproj/argo-cd/commit/3e5a878f6e30d935fa149723ea2a2e93748fcddd
  • github.com/argoproj/argo-cd/security/advisories/GHSA-jhwx-mhww-rgc3
  • nvd.nist.gov/vuln/detail/CVE-2024-29893

Code Behaviors & Features

Detect and mitigate CVE-2024-29893 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.4.0 before 2.8.14, all versions starting from 2.9.0 before 2.9.10, all versions starting from 2.10.0 before 2.10.5

Fixed versions

  • 2.8.14
  • 2.9.10
  • 2.10.5

Solution

Upgrade to versions 2.10.5, 2.8.14, 2.9.10 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/argoproj/argo-cd/v2/CVE-2024-29893.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.