CVE-2022-31034Argoproj Argo Cd
High 8.1 No auth needed
Follow: this CVE · Argoproj · Argoproj Argo Cd We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Jun 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Argo Cd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/argoproj/argo-cd |
≥ 0.11.0 < 2.1.16 |
2.1.16 |
go get github.com/argoproj/argo-cd@v2.1.16 |
| Go | github.com/argoproj/argo-cd |
≥ 0.11.0 |
no fixed version | — |
| Go | github.com/argoproj/argo-cd/v2 |
< 2.1.16 |
2.1.16 |
go get github.com/argoproj/argo-cd/v2@v2.1.16 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.2.0 < 2.2.10 |
2.2.10 |
go get github.com/argoproj/argo-cd/v2@v2.2.10 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.3.0 < 2.3.5 |
2.3.5 |
go get github.com/argoproj/argo-cd/v2@v2.3.5 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.4.0 < 2.4.1 |
2.4.1 |
go get github.com/argoproj/argo-cd/v2@v2.4.1 |
| Go | github.com/argoproj/argo-cd/v2 |
< 2.1.16 |
2.1.16 |
go get github.com/argoproj/argo-cd/v2@v2.1.16 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.2.0 < 2.2.10 |
2.2.10 |
go get github.com/argoproj/argo-cd/v2@v2.2.10 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.3.0 < 2.3.5 |
2.3.5 |
go get github.com/argoproj/argo-cd/v2@v2.3.5 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.4.0 < 2.4.1 |
2.4.1 |
go get github.com/argoproj/argo-cd/v2@v2.4.1 |
Per OSV / GitHub Advisories (GHSA-2m7h-86qq-fp4v, GO-2022-0497). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| argoproj | argo_cd | ≥ 0.11.0 < 2.1.16 |
| argoproj | argo_cd | 2.2.9 |
| argoproj | argo_cd | 2.3.4 |
| argoproj | argo_cd | 2.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory