PT-2024-2316 · Argo Cd · Argo Cd

Nadava669

·

Published

2024-03-18

·

Updated

2025-01-09

·

CVE-2024-21661

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Argo CD versions prior to 2.8.13 Argo CD versions prior to 2.9.9 Argo CD versions prior to 2.10.4
Description The issue arises from unsafe manipulation of an array in a multi-threaded environment, 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. The vulnerability is rooted in the application's code, specifically in the expireOldFailedAttempts() function. 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.
Recommendations To resolve the issue for versions prior to 2.8.13, update to version 2.8.13 or later. To resolve the issue for versions prior to 2.9.9, update to version 2.9.9 or later. To resolve the issue for versions prior to 2.10.4, update to version 2.10.4 or later. As a temporary workaround, consider disabling the expireOldFailedAttempts() function until a patch is available.

Exploit

Fix

Memory Corruption

Weakness Enumeration

Related Identifiers

BDU:2024-02250
BIT-ARGO-CD-2024-21661
CVE-2024-21661
GHSA-6V85-WR92-Q4P7
GO-2024-2654
RHSA-2024:1752

Affected Products

Argo Cd