GO-2024-2652

Brute force protection bypass in github.com/argoproj/argo-cd/v2

At a glance

Published
Updated
CVE
CVE-2024-21652, CVE-2024-21662
Aliases
BIT-argo-cd-2024-21652, BIT-argo-cd-2024-21662, GHSA-2vgg-9h6w-m454, GHSA-x32m-mvfj-52xv

Description

An attacker can effectively bypass the rate limit and brute force protections in Argo CD by exploiting the application's weak cache-based mechanism. The application's brute force protection relies on a cache mechanism that tracks login attempts for each user. An attacker can overflow this cache by bombarding it with login attempts for different users, thereby pushing out the admin account's failed attempts and effectively resetting the rate limit for that account.

Affected packages

PackageVersions
Go · github.com/argoproj/argo-cd/v2introduced 0, fixed 2.8.13, introduced 2.9.0, fixed 2.9.9, introduced 2.10.0, fixed 2.10.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database