CVE-2022-24768 Improper access control allows admin privilege escalation in Argo CD
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Kubernetes
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All unpatched versions of Argo CD starting with 1.0.0 are vulnerable to an improper access control bug, allowing a malicious user to potentially escalate their privileges to admin-level. Versions starting with 0.8.0 and 0.5.0 contain limited versions of this issue. To perform exploits, an authorized Argo CD user must have push access to an Application's source git or Helm repository or sync and override access to an Application. Once a user has that access, different exploitation levels are possible depending on their other RBAC privileges. A patch for this vulnerability has been released in Argo CD versions 2.3.2, 2.2.8, and 2.1.14. Some mitigation measures are available but do not serve as a substitute for upgrading. To avoid privilege escalation, limit who has push access to Application source repositories or sync + override access to Applications; and limit which repositories are available in projects where users have update access to Applications. To avoid unauthorized resource inspection/tampering, limit who has delete, get, or action access to Applications.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| argoproj github.com/argoproj/argo-cd(Go) | < 2.1.14; >= 0.5.0; >= 0.5.0, < 2.1.14; >= 2.2.0, < 2.2.8 +1 more | 2.1.14, 2.2.8, 2.3.2 | Partially fixed |
| argoproj Argo CD | >= 0.5.0, < 2.1.14; >= 2.2.0, < 2.2.8; >= 2.3.0, < 2.3.2 | 2.1.14, 2.2.8, 2.3.2 | Fixed |
| argoproj github.com/argoproj/argo-cd | = >= 0.5.0, < 2.1.14; = >= 2.2.0, < 2.2.8; = >= 2.3.0, < 2.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| argoproj github.com/argoproj/argo-cd(Go) | >= 0.5.0, < 2.1.14 | 2.1.14 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 2.2.0, < 2.2.8 | 2.2.8 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 2.3.0, < 2.3.2 | 2.3.2 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 0.5.0 | No fix listed |
| argoproj github.com/argoproj/argo-cd(Go) | < 2.1.14 | 2.1.14 |
| argoproj github.com/argoproj/argo-cd | = >= 0.5.0, < 2.1.14 | No fix listed |
| argoproj github.com/argoproj/argo-cd | = >= 2.2.0, < 2.2.8 | No fix listed |
| argoproj github.com/argoproj/argo-cd | = >= 2.3.0, < 2.3.2 | No fix listed |
| argoproj Argo CD | >= 0.5.0, < 2.1.14 | 2.1.14 |
| argoproj Argo CD | >= 2.2.0, < 2.2.8 | 2.2.8 |
| argoproj Argo CD | >= 2.3.0, < 2.3.2 | 2.3.2 |
References
- github.com mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- github.com release-notes third-party-advisory
- github.com release-notes third-party-advisory
- github.com
- github.com product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com