CVE-2023-22482
JWT audience claim is not verified
Reported by github_m · Published January 25, 2023
github.com/argoproj/argo-cd is fixed in 2.6.0-rc5, 2.5.8, 2.4.20 and 1 more (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd | Go Modules | 2.6.0-rc5, 2.5.8, 2.4.20, 2.3.14 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| argoproj | argo-cd | >= 1.8.2, < 2.3.13, >= 2.4.0-rc1, < 2.4.19, >= 2.5.0-rc1, < 2.5.6 |
| argoproj | argo-cd | 1.8.2, 2.4.0-rc1, 2.5.0-rc1 |
Timeline
- Jan 25, 2023 CVE Published
- Jan 26, 2023 EPSS Score (30 in total, the first dated here)
- Apr 16, 2023 PoC Published
- Feb 21, 2026 Security Advisory (4 in total, the first dated here)
- Mar 26, 2026 Distribution Patch (3 in total, the first dated here)
- May 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-22482
vulnetix vdb fixes CVE-2023-22482
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-22482/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-q9hr-j4rf-8fjc x_refsource_CONFIRM