{"cve":"CVE-2023-40584","nvd":{"published":"2023-09-07T23:15:10.240","modified":"2026-06-17T06:18:34.933","status":"Modified","description":"Argo CD is a declarative continuous deployment 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, the said component extracts a user-controlled tar.gz file without validating the size of its inner files. As a result, a malicious, low-privileged user can send a malicious tar.gz file that exploits this vulnerability to the repo-server, thereby harming the system's functionality and availability. Additionally, the repo-server is susceptible to another vulnerability due to the fact that it does not check the extracted file permissions before attempting to delete them. Consequently, an attacker can craft a malicious tar.gz archive in a way that prevents the deletion of its inner files when the manifest generation process is completed. A patch for this vulnerability has been released in versions 2.6.15, 2.7.14, and 2.8.3. Users are advised to upgrade. The only way to completely resolve the issue is to upgrade, however users unable to upgrade should configure RBAC (Role-Based Access Control) and provide access for configuring applications only to a limited number of administrators. These administrators should utilize trusted and verified Helm charts.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-400"],"references":["https://github.com/argoproj/argo-cd/commit/b8f92c4ff226346624f43de3f25d81dac6386674","https://github.com/argoproj/argo-cd/security/advisories/GHSA-g687-f2gx-6wm8","https://github.com/argoproj/argo-cd/commit/b8f92c4ff226346624f43de3f25d81dac6386674","https://github.com/argoproj/argo-cd/security/advisories/GHSA-g687-f2gx-6wm8"],"products":["argoproj:argo_cd"],"source":"nvd","synced_at":"2026-10-19T21:39:24.235896374+00:00"},"epss":{"cve":"CVE-2023-40584","score":0.01419,"percentile":0.72816,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g687-f2gx-6wm8","url":"https://osv.dev/vulnerability/GHSA-g687-f2gx-6wm8","summary":"Argo CD repo-server  Denial of Service vulnerability","modified":"2024-08-21T14:41:54.467121Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.4.0 <2.6.15"],"fixed":["2.6.15"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.7.0 <2.7.14"],"fixed":["2.7.14"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.8.0 <2.8.3"],"fixed":["2.8.3"]}]},{"id":"GO-2023-2050","url":"https://osv.dev/vulnerability/GO-2023-2050","summary":"Argo CD repo-server Denial of Service vulnerability in github.com/argoproj/argo-cd","modified":"2026-03-03T04:54:09.063095Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.4.0 <2.6.15",">=2.7.0 <2.7.14",">=2.8.0 <2.8.3"],"fixed":["2.6.15","2.7.14","2.8.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}