{"schemaVersion":3,"id":"CVE-2024-21661","aliases":["GHSA-6v85-wr92-q4p7","BIT-argo-cd-2024-21661","GO-2024-2654"],"status":"published","duplicateOf":null,"title":null,"description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Prior to versions 2.8.13, 2.9.9, and 2.10.4, an attacker can exploit a critical flaw in the application to initiate a Denial of Service (DoS) attack, rendering the application inoperable and affecting all users. The issue arises from unsafe manipulation of an array in a multi-threaded environment. The vulnerability is rooted in the application's code, where an array is being modified while it is being iterated over. This is a classic programming error but becomes critically unsafe when executed in a multi-threaded environment. When two threads interact with the same array simultaneously, the application crashes. This is a Denial of Service (DoS) vulnerability. Any attacker can crash the application continuously, making it impossible for legitimate users to access the service. The issue is exacerbated because it does not require authentication, widening the pool of potential attackers. Versions 2.8.13, 2.9.9, and 2.10.4 contain a patch for this issue.","dates":{"published":"2024-03-18T18:32:24.871Z","modified":"2024-08-02T15:09:39.868Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01176,"percentile":0.6714,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01176},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01176,"percentile":0.6714}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01176,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01176,"percentile":0.6714}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ARGOPROJ_ARGO-CD","name":"Argo Cd","source":"github","url":"https://github.com/argoproj/argo-cd/blob/a1afe44066fcd0a0ab90a02a23177164bbad42cf/util/diff/diff.go#L399","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"argo cd","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.8.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.10.0, < 2.10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.13 | ≥ 2.9.0, < 2.9.9 | ≥ 2.10.0, < 2.10.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo_cd"},{"vendor":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.8.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.10.0, < 2.10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.13 | ≥ 2.9.0, < 2.9.9 | ≥ 2.10.0, < 2.10.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo-cd"},{"vendor":"github.com/argoproj","product":"argo-cd","name":"github.com/argoproj/argo-cd","label":"argo-cd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd","purlType":"golang","versions":[{"text":"≤ 1.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":null},{"vendor":"github.com/argoproj/argo-cd","product":"v2","name":"github.com/argoproj/argo-cd/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd/v2","purlType":"golang","versions":[{"text":"< 2.8.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.10.0, < 2.10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.13 | ≥ 2.9.0, < 2.9.9 | ≥ 2.10.0, < 2.10.4","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6v85-wr92-q4p7","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-6v85-wr92-q4p7","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/2a22e19e06aaf6a1e734443043310a66c234e345","label":"github.com/argoproj/argo-cd/commit/2a22e19e06aaf6a1e734443043310a66c234e345","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/argoproj/argo-cd/commit/5bbb51ab423f273dda74ab956469843d2db2e208","label":"github.com/argoproj/argo-cd/commit/5bbb51ab423f273dda74ab956469843d2db2e208","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/argoproj/argo-cd/commit/ce04dc5c6f6e92033221ec6d96b74403b065ca8b","label":"github.com/argoproj/argo-cd/commit/ce04dc5c6f6e92033221ec6d96b74403b065ca8b","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/argoproj/argo-cd/blob/54601c8fd30b86a4c4b7eb449956264372c8bde0/util/session/sessionmanager.go#L302-L311","label":"github.com/argoproj/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21661","label":"nvd.nist.gov/vuln/detail/CVE-2024-21661","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/argoproj/argo-cd","label":"github.com/argoproj/argo-cd","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["RHSA-2024:1752"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-03-18T18:32:24.871Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T15:09:39.868Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:07:13.251Z","stale":false,"partial":false}}