CVE-2023-22482 JWT audience claim is not verified
- 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. Versions of Argo CD starting with v1.8.2 and prior to 2.3.13, 2.4.19, 2.5.6, and 2.6.0-rc-3 are vulnerable to an improper authorization bug causing the API to accept certain invalid tokens. OIDC providers include an aud (audience) claim in signed tokens. The value of that claim specifies the intended audience(s) of the token (i.e. the service or services which are meant to accept the token). Argo CD does validate that the token was signed by Argo CD's configured OIDC provider. But Argo CD does not validate the audience claim, so it will accept tokens that are not intended for Argo CD. If Argo CD's configured OIDC provider also serves other audiences (for example, a file storage service), then Argo CD will accept a token intended for one of those other audiences. Argo CD will grant the user privileges based on the token's groups claim, even though those groups were not intended to be used by Argo CD. This bug also increases the impact of a stolen token. If an attacker steals a valid token for a different audience, they can use it to access Argo CD. A patch for this vulnerability has been released in versions 2.6.0-rc3, 2.5.6, 2.4.19, and 2.3.13. There are no workarounds.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| argoproj github.com/argoproj/argo-cd(Go) | < 2.3.14; >= 1.8.2; >= 1.8.2, < 2.3.14; >= 2.4.0, < 2.4.20 +2 more | 2.3.14, 2.4.20, 2.5.8, 2.6.0-rc5 | Partially fixed |
| argoproj Argo CD | = 2.6.0-rc1; = 2.6.0-rc2; = 2.6.0-rc3; = 2.6.0-rc4 +3 more | 2.3.14, 2.4.20, 2.5.8 | Fixed |
| argoproj github.com/argoproj/argo-cd | = >= 1.8.2, < 2.3.13; = >= 2.4.0-rc1, < 2.4.19; = >= 2.5.0-rc1, < 2.5.6; = >= 2.6.0-rc1, < 2.6.0-rc3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| argoproj github.com/argoproj/argo-cd(Go) | >= 1.8.2, < 2.3.14 | 2.3.14 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 2.4.0, < 2.4.20 | 2.4.20 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 2.5.0, < 2.5.8 | 2.5.8 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 2.6.0-rc1, < 2.6.0-rc5 | 2.6.0-rc5 |
| argoproj github.com/argoproj/argo-cd(Go) | >= 1.8.2 | No fix listed |
| argoproj github.com/argoproj/argo-cd(Go) | < 2.3.14 | 2.3.14 |
| argoproj github.com/argoproj/argo-cd | = >= 1.8.2, < 2.3.13 | No fix listed |
| argoproj github.com/argoproj/argo-cd | = >= 2.4.0-rc1, < 2.4.19 | No fix listed |
| argoproj github.com/argoproj/argo-cd | = >= 2.5.0-rc1, < 2.5.6 | No fix listed |
| argoproj github.com/argoproj/argo-cd | = >= 2.6.0-rc1, < 2.6.0-rc3 | No fix listed |
| argoproj Argo CD | >= 1.8.2, < 2.3.14 | 2.3.14 |
| argoproj Argo CD | >= 2.4.0, < 2.4.20 | 2.4.20 |
| argoproj Argo CD | >= 2.5.0, < 2.5.8 | 2.5.8 |
| argoproj Argo CD | = 2.6.0-rc1 | No fix listed |
| argoproj Argo CD | = 2.6.0-rc2 | No fix listed |
| argoproj Argo CD | = 2.6.0-rc3 | No fix listed |
| argoproj Argo CD | = 2.6.0-rc4 | No fix listed |
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-q9hr-j4rf-8fjc patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product