Skip to main content
← All vulnerabilities
CVE-2024-21661GHSA-6V85-WR92-Q4P7BIT-ARGO-CD-2024-21661GO-2024-2654

Argo CD Denial of Service (DoS) Vulnerability Due to Unsafe Array Modification in Multi-threaded Environment

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.13, 2.9.9, 2.10.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • argoproj argo-cd

    fixed in 2.8.13; From 2.9.0 · fixed in 2.9.9; From 2.10.0 · fixed in 2.10.4

  • github.com/argoproj/argo-cdGo

    through 1.8.7

  • github.com/argoproj/argo-cd/v2Go

    fixed in 2.8.13

  • github.com/argoproj/argo-cd/v2Go

    From 2.9.0 · fixed in 2.9.9

  • github.com/argoproj/argo-cd/v2Go

    From 2.10.0 · fixed in 2.10.4

  • github.com/argoproj/argo-cd/v2Go

    fixed in 2.8.13; From 2.9.0 · fixed in 2.9.9; From 2.10.0 · fixed in 2.10.4

References 5

GitHub · argoproj/argo-cd