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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-06-27 · Modified: 2025-04-23
- Aliases: GHSA-2m7h-86qq-fp4v, GO-2022-0497
- Record: https://cvemate.com/vulnerability/CVE-2022-31034 · JSON: https://cvemate.com/vulnerability/CVE-2022-31034/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.979%, percentile 63.364%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- argoproj argo\_cd: ≥ 0.11.0, \< 2.1.16 \| 2.2.9 \| 2.3.4 \| 2.4.0
- 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): ≥ 0.11.0, \< 2.1.16 \| ≥ 0.11.0 (No fix recorded)
- github.com/argoproj/argo-cd v2 (Go): \< 2.1.16 \| ≥ 2.2.0, \< 2.2.10 \| ≥ 2.3.0, \< 2.3.5 \| ≥ 2.4.0, \< 2.4.1

## References

- <https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v>
- <https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31034>
- <https://github.com/argoproj/argo-cd>

---

Data as of 2026-12-05T14:01:40.395Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
