Skip to content

CVE-2022-31034 Insecure entropy in argo-cd

HighCVSS 8.1 EPSS 0.92%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Kubernetes

Description

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
argoproj github.com/argoproj/argo-cd(Go) < 2.1.16; = 2.4.0; >= 0.11.0; >= 0.11.0, < 2.1.16 +4 more 2.1.16, 2.2.10, 2.3.5, 2.4.1 Partially fixed
argoproj Argo CD = 2.2.9; = 2.3.4; = 2.4.0; >= 0.11.0, < 2.1.16 2.1.16 Fixed
argoproj github.com/argoproj/argo-cd = >= 0.11.0, < 2.1.16; = >= 2.2.0, < 2.2.10; = >= 2.3.0, < 2.3.5; = >= 2.4.0, < 2.4.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
argoproj github.com/argoproj/argo-cd(Go) >= 0.11.0, <= 1.8.7 No fix listed
argoproj github.com/argoproj/argo-cd(Go) < 2.1.16 2.1.16
argoproj github.com/argoproj/argo-cd(Go) >= 2.2.0, < 2.2.10 2.2.10
argoproj github.com/argoproj/argo-cd(Go) >= 2.3.0, < 2.3.5 2.3.5
argoproj github.com/argoproj/argo-cd(Go) = 2.4.0 No fix listed
argoproj github.com/argoproj/argo-cd(Go) >= 0.11.0, < 2.1.16 2.1.16
argoproj github.com/argoproj/argo-cd(Go) >= 2.4.0, < 2.4.1 2.4.1
argoproj github.com/argoproj/argo-cd(Go) >= 0.11.0 No fix listed
argoproj github.com/argoproj/argo-cd = >= 0.11.0, < 2.1.16 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.2.0, < 2.2.10 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.3.0, < 2.3.5 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.4.0, < 2.4.1 No fix listed
argoproj Argo CD >= 0.11.0, < 2.1.16 2.1.16
argoproj Argo CD = 2.2.9 No fix listed
argoproj Argo CD = 2.3.4 No fix listed
argoproj Argo CD = 2.4.0 No fix listed

References