Vulnerability · Published Jan 25, 2023 · Assigned by GitHub_M

CVE-2023-22482JWT audience claim is not verified

Critical 9.1

In plain English

A critical-severity incorrect authorization in argo-cd from argoproj. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.9%top 40.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/argoproj/argo-cd2.3.14GHSA-q9hr-j4rf-8fjc
Gogithub.com/argoproj/argo-cd2.4.20GHSA-q9hr-j4rf-8fjc
Gogithub.com/argoproj/argo-cd2.5.8GHSA-q9hr-j4rf-8fjc
Gogithub.com/argoproj/argo-cd2.6.0-rc5GHSA-q9hr-j4rf-8fjc
Gogithub.com/argoproj/argo-cdno fix listedGO-2023-1520
Gogithub.com/argoproj/argo-cd/v22.3.14, 2.4.20, 2.5.8, 2.6.0-rc5GO-2023-1520

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

References