CVE-2022-31034
Argo CD Predictable PRNG Seed in OAuth2/OIDC Login Flows SPI
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.
INFO
Published Date :
June 27, 2022, 7:15 p.m.
Last Modified :
Aug. 7, 2024, 3:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
1.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31034
.
URL | Resource |
---|---|
https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0 | Patch Third Party Advisory |
https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31034
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31034
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 0.11.0 from (excluding) 2.1.16 OR *cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* versions from (including) 0.11.0 from (excluding) 2.1.16 -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Removed CWE NIST CWE-330 Added CWE NIST CWE-335 Added CWE NIST CWE-331 -
Initial Analysis by [email protected]
Jul. 07, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0 No Types Assigned https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0 Patch, Third Party Advisory Changed Reference Type https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v No Types Assigned https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v Third Party Advisory Added CWE NIST CWE-330 Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 0.11.0 up to (excluding) 2.1.16 *cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31034
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31034
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.35 }} 0.01%
score
0.68928
percentile