CVE-2022-31034

High

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.

SeverityHigh
CVSS8.3
Exploit probability—
ProductArgoproj Argo Cd
PublishedJun 27, 2022
First seenJun 27, 2022
Weakness typeCWE-330CWE-330

How to fix

Update
  • argoproj argo_cd2.1.16 or later
  • github.com/argoproj/argo-cd2.1.16 or later
  • github.com/argoproj/argo-cd/v22.1.16, 2.2.10, 2.3.5, 2.4.1 or later

Affected products

ProductAffected versionsFixed in
argoproj argo_cd0.11.0 ≤ v < 2.1.16, 2.2.9, 2.3.4, 2.4.02.1.16
github.com/argoproj/argo-cdGo0.11.0 ≤ v < 2.1.16, 0.11.0 ≤ v2.1.16
github.com/argoproj/argo-cd/v2Gov < 2.1.16, 2.2.0 ≤ v < 2.2.10, 2.3.0 ≤ v < 2.3.5, 2.4.0 ≤ v < 2.4.12.1.16, 2.2.10, 2.3.5, 2.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-31034 · Argoproj Argo Cd · Dark Radar