Insecure entropy in argo-cd
argoproj argo-cd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd Go |
|
|
| github.com/argoproj/argo-cd/v2 Go |
|
argoproj argo-cd
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd Go |
|
|
| github.com/argoproj/argo-cd/v2 Go |
|
≥ 2.4.0 · < 2.4.1
|
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v0.11.0 are vulnerable to a variety of attacks when an SSO login is initiated from the Argo CD CLI or UI. The vulnerabilities are due to the use of insufficiently random values in parameters in Oauth2/OIDC login flows. In each case, using a relatively-predictable (time-based) seed in a non-cryptographically-secure pseudo-random number generator made the parameter less random than required by the relevant spec or by general best practices. In some cases, using too short a value made the entropy even less sufficient. The attacks on login flows which are meant to be mitigated by these parameters are difficult to accomplish but can have a high impact potentially granting an attacker admin access to Argo CD. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
Argo CD uses insufficiently random parameters in OAuth2/OIDC login flows initiated from its CLI or UI. During an SSO login, an attacker could exploit weaknesses in those flows, potentially gaining admin access. These attacks are difficult to accomplish.
Teams running Argo CD from v0.11.0 onward should check whether they use an affected release before v2.1.16, or v2.2.0–v2.2.9, v2.3.0–v2.3.4, or v2.4.0.