github.com/argoproj/argo-cd/v2
Affected
- introduced
0, fixed2.8.13(semver)
Fixed versions
2.8.13
Fix
- Fixed version
2.8.13go get github.com/argoproj/argo-cd/[email protected]
Advisory
Also known as: BIT-argo-cd-2024-21652, BIT-argo-cd-2024-21662, CVE-2024-21652, CVE-2024-21662, GHSA-2vgg-9h6w-m454, GO-2024-2652
Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss
Summary
An attacker can exploit a chain of vulnerabilities, including a Denial of Service (DoS) flaw and in-memory data storage weakness, to effectively bypass the application's brute force login protection. This makes the application susceptible to brute force attacks, compromising the security of all user accounts.
Details
The issue arises from two main vulnerabilities:
// LoginAttempts is a timestamped counter for failed login attempts
type LoginAttempts struct {
// Time of the last failed login LastFailed time.Time `json:"lastFailed"` // Number of consecutive login failures FailCount int `json:"failCount"`
}
By chaining these vulnerabilities, an attacker can circumvent the limitations placed on the number of login attempts.
PoC
Impact
This is a critical security vulnerability that allows attackers to bypass the brute force login protection mechanism. Not only can they crash the service affecting all users, but they can also make unlimited login attempts, increasing the risk of account compromise.
Critical Basis: The source's own band: CRITICAL
0, fixed 2.8.13 (semver)2.8.13
2.8.13go get github.com/argoproj/argo-cd/[email protected]2.9.0, fixed 2.9.9 (semver)2.9.9
2.9.9go get github.com/argoproj/argo-cd/[email protected]2.10.0, fixed 2.10.4 (semver)2.10.4
2.10.4go get github.com/argoproj/argo-cd/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0