Insecure entropy in argo-cd
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| argoproj | argo-cd | 0.11.0 to before 2.1.16; 2.2.0 to before 2.2.10; 2.3.0 to before 2.3.5; 2.4.0 to before 2.4.1 | 2.1.16, 2.2.10, 2.3.5, 2.4.1 | Patch available | CNA |
| — | github.com/argoproj/argo-cd (Go) | 0.11.0 to before 2.1.16 | 2.1.16 | Patch available | GHSA-2m7h-86qq-fp4v |
| — | github.com/argoproj/argo-cd/v2 (Go) | before 2.1.16 | 2.1.16 | Patch available | GHSA-2m7h-86qq-fp4v |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.2.0 to before 2.2.10 | 2.2.10 | Patch available | GHSA-2m7h-86qq-fp4v |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.3.0 to before 2.3.5 | 2.3.5 | Patch available | GHSA-2m7h-86qq-fp4v |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.4.0 to before 2.4.1 | 2.4.1 | Patch available | GHSA-2m7h-86qq-fp4v |
- argo-cd Vendorargoproj Affected 0.11.0 to before 2.1.16; 2.2.0 to before 2.2.10; 2.3.0 to before 2.3.5; 2.4.0 to before 2.4.1 Fixed in 2.1.16, 2.2.10, 2.3.5, 2.4.1 Patch available CNA
- github.com/argoproj/argo-cd (Go) Vendor— Affected 0.11.0 to before 2.1.16 Fixed in 2.1.16 Patch available GHSA-2m7h-86qq-fp4v
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected before 2.1.16 Fixed in 2.1.16 Patch available GHSA-2m7h-86qq-fp4v
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.2.0 to before 2.2.10 Fixed in 2.2.10 Patch available GHSA-2m7h-86qq-fp4v
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.3.0 to before 2.3.5 Fixed in 2.3.5 Patch available GHSA-2m7h-86qq-fp4v
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.4.0 to before 2.4.1 Fixed in 2.4.1 Patch available GHSA-2m7h-86qq-fp4v
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* | 0.11.0 to before 2.1.16 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:* | 2.2.9 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:* | 2.3.4 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:* | 2.4.0 | Vulnerable | argoproj |
- cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* Versions 0.11.0 to before 2.1.16 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:* Versions 2.2.9 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:* Versions 2.3.4 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:* Versions 2.4.0 Vulnerable ·argoproj
Remediation
- Fix · CNA argo-cd (argoproj) Fixed in 2.1.16, 2.2.10, 2.3.5, 2.4.1
- Fix · GHSA-2m7h-86qq-fp4v github.com/argoproj/argo-cd (Go) Fixed in 2.1.16 Advisory →
- Fix · GHSA-2m7h-86qq-fp4v github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.1.16 Advisory →
- Fix · GHSA-2m7h-86qq-fp4v github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.2.10 Advisory →
- Fix · GHSA-2m7h-86qq-fp4v github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.3.5 Advisory →
- Fix · GHSA-2m7h-86qq-fp4v github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.4.1 Advisory →
Red Hat 4 advisories
- RHSA-2022:5153 Released 2022-06-27 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.4 openshift-gitops-1/argocd-rhel8
- RHSA-2022:5187 Released 2022-06-24 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/argocd-rhel8
- RHSA-2022:5192 Released 2022-06-24 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/argocd-rhel8
Show 1 more Red Hat advisories
- RHSA-2022:5152 Released 2022-06-22 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.5 openshift-gitops-1/argocd-rhel8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift GitOps 1.3 | Fixed | RHSA-2022:5187, RHSA-2022:5192 |
| Red Hat OpenShift GitOps 1.4 | Fixed | RHSA-2022:5153 |
| Red Hat OpenShift GitOps 1.5 | Fixed | RHSA-2022:5152 |
Not affected: 3 products
- Red Hat OpenShift GitOps 1.3
- Red Hat OpenShift GitOps 1.4
- Red Hat OpenShift GitOps 1.5
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31034
- 2026-10-03 Alias added: GHSA-2m7h-86qq-fp4v
References
More argoproj Argo Cd vulnerabilities
- TI-2024-14377 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss CVSS 3.1CRITICAL 9.8
- TI-2024-14383 Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow CVSS 3.1CRITICAL 9.1
- TI-2026-31086 ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction CVSS 3.1CRITICAL 9.6
- TI-2023-20919 Cluster secret might leak in cluster details page in Argo CD CVSS 3.1CRITICAL 9.9
- TI-2024-21088 ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache CVSS 3.1CRITICAL 9.1
- TI-2026-33475 Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation CVSS 3.1HIGH 8.7
Sources
- CVE-2022-31034 · CVE Program
- CVE-2022-31034 · NVD
- FIRST EPSS
- GHSA-2m7h-86qq-fp4v · GitHub Advisory Database · CC BY 4.0
- CVE-2022-31034 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences