# CVE-2022-31034: Insecure entropy in argo-cd

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 59% of CVEs (2026-11-30)
- Published: 2022-06-21T20:03:23.000Z
- Modified: 2026-06-17T04:44:39.233Z
- Also known as: GHSA-2m7h-86qq-fp4v, GO-2022-0497
- Weaknesses: CWE-330, CWE-331, CWE-335
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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
- github.com/argoproj/argo-cd (Go): from 0.11.0 before 2.1.16; from 0.11.0
- github.com/argoproj/argo-cd/v2 (Go): before 2.1.16; from 2.2.0 before 2.2.10; from 2.3.0 before 2.3.5; from 2.4.0 before 2.4.1
- argoproj argo_cd: from 0.11.0 before 2.1.16; 2.2.9; 2.3.4; 2.4.0

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v> (advisory, third-party-advisory, web)
- <https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31034> (advisory)
- <https://github.com/argoproj/argo-cd> (package)

## Sources

- CVE List: [CVE-2022-31034](https://www.cve.org/CVERecord?id=CVE-2022-31034), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-2m7h-86qq-fp4v](https://github.com/advisories/GHSA-2m7h-86qq-fp4v), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0497](https://pkg.go.dev/vuln/GO-2022-0497), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-31034](https://nvd.nist.gov/vuln/detail/CVE-2022-31034), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31034 · Whole record: https://cve.day/CVE-2022-31034.json · Rebuilt by cve.day 2026-11-25T22:58:12.587Z
