Skip to content
OpenAdvisories
High · 7.5 CVE-2024-21661 BIT-argo-cd-2024-21661EUVD-2024-0850GHSA-6v85-wr92-q4p7GO-2024-2654

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

Published Mar 18, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
argoproj argo-cd < 2.8.13, >= 2.9.0, < 2.9.9, >= 2.10.0, < 2.10.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Openshift Gitops 1 microshift-gitops +3 1.12.1-4.el9 RHSA-2024:1752

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/argoproj/argo-cd <= 1.8.7 — GHSA-6v85-wr92-q4p7
Go github.com/argoproj/argo-cd/v2 < 2.8.13 2.8.13 GHSA-6v85-wr92-q4p7
Go github.com/argoproj/argo-cd/v2 >= 2.9.0, < 2.9.9 2.9.9 GHSA-6v85-wr92-q4p7
Go github.com/argoproj/argo-cd/v2 >= 2.10.0, < 2.10.4 2.10.4 GHSA-6v85-wr92-q4p7
Go github.com/argoproj/argo-cd/v2 < 2.8.13 · >= 2.9.0, < 2.9.9 · >= 2.10.0, < 2.10.4 2.8.13, 2.9.9, 2.10.4 GO-2024-2654

Advisories 2

References