Uncontrolled Resource Consumption vulnerability in ArgoCD's repo server (argoproj argo-cd)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.97 % Β· percentile 62 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-400 β Uncontrolled Resource Consumption
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-jhwx-mhww-rgc3
- https://github.com/argoproj/argo-cd/commit/14f681e3ee7c38731943b98f92277e88a3db109d
- https://github.com/argoproj/argo-cd/commit/36b8a12a38f8d92d55bffc81deed44389bf6eb59
- https://github.com/argoproj/argo-cd/commit/3e5a878f6e30d935fa149723ea2a2e93748fcddd
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-jhwx-mhww-rgc3 β ArgoCD's repo server has Uncontrolled Resource Consumption vulnerability
- GO-2024-2667 β Out of memory crash from malicious Helm registry in github.com/argoproj/argo-cd/v2
European references
- ENISA EUVD Β· EUVD-2024-0949
- GCVE Β· GCVE-0-2024-29893
Affected configurations (NVD CPE)
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 2.4.0 < 2.8.14cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 2.9.0 < 2.9.10cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 2.10.0 < 2.10.5
Affected products
| Product | Versions |
|---|---|
| argoproj Β· argo-cd | affected >= 2.4.0, < 2.8.14 ; affected >= 2.9.0, < 2.9.10 ; affected >= 2.10.0, < 2.10.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |