Security mailing lists by PureSourceCode

CVE-2022-31034

HIGH 8.1CVSS 3.1

Insecure entropy in Argo CD's PKCE/Oauth2/OIDC params

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.

Published
27 Jun 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-330CWE-331
Also known as
GHSA-2m7h-86qq-fp4vGO-2022-0497
Sources
NVDJSONOSV GHSA-2m7h-86qq-fp4vJSONOSV GO-2022-0497JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
>= 0.11.0, < 2.1.16 2.1.16
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:*
= 2.2.9
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:*
= 2.3.4
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:*
= 2.4.0
OSV Go github.com/argoproj/argo-cd >= 0.11.0, < 2.1.16 2.1.16
OSV Go github.com/argoproj/argo-cd/v2 < 2.1.16 2.1.16
OSV Go github.com/argoproj/argo-cd/v2 >= 2.2.0, < 2.2.10 2.2.10
OSV Go github.com/argoproj/argo-cd/v2 >= 2.3.0, < 2.3.5 2.3.5
OSV Go github.com/argoproj/argo-cd/v2 >= 2.4.0, < 2.4.1 2.4.1
OSV Go github.com/argoproj/argo-cd >= 0.11.0
OSV Go github.com/argoproj/argo-cd/v2 < 2.1.16; >= 2.2.0, < 2.2.10; >= 2.3.0, < 2.3.5; >= 2.4.0, < 2.4.1 2.1.16, 2.2.10, 2.3.5, 2.4.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 27 Jun 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.