Skip to content

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

HighCVSS 7.5 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Kubernetes

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
argoproj Argo CD < 2.8.13; >= 2.9.0, < 2.9.9; >= 2.10.0, < 2.10.4 2.8.13, 2.9.9, 2.10.4 Fixed
argoproj github.com/argoproj/argo-cd < 2.8.13; = < 2.8.13; = >= 2.9.0, < 2.9.9; = >= 2.10.0, < 2.10.4 +2 more 2.8.13, 2.9.9, 2.10.4 Fixed
argoproj github.com/argoproj/argo-cd(Go) < 2.8.13; <= 1.8.7; >= 2.9.0, < 2.9.9; >= 2.10.0, < 2.10.4 2.8.13, 2.9.9, 2.10.4 Fixed

Affected products

ProductAffected versionsFixed in
argoproj github.com/argoproj/argo-cd(Go) <= 1.8.7 No fix listed
argoproj github.com/argoproj/argo-cd(Go) < 2.8.13 2.8.13
argoproj github.com/argoproj/argo-cd(Go) >= 2.9.0, < 2.9.9 2.9.9
argoproj github.com/argoproj/argo-cd(Go) >= 2.10.0, < 2.10.4 2.10.4
argoproj github.com/argoproj/argo-cd = < 2.8.13 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.9.0, < 2.9.9 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.10.0, < 2.10.4 No fix listed
argoproj github.com/argoproj/argo-cd < 2.8.13 2.8.13
argoproj github.com/argoproj/argo-cd >= 2.9.0, < 2.9.9 2.9.9
argoproj github.com/argoproj/argo-cd >= 2.10.0, < 2.10.4 2.10.4
argoproj Argo CD < 2.8.13 2.8.13
argoproj Argo CD >= 2.9.0, < 2.9.9 2.9.9
argoproj Argo CD >= 2.10.0, < 2.10.4 2.10.4

References