Miggo Logo

CVE-2022-29165:
Argo CD will blindly trust JWT claims if anonymous access is enabled

10

CVSS Score

Basic Information

EPSS Score
-
Published
5/24/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/argoproj/argo-cd/v2go>= 2.3.0, < 2.3.42.3.4
github.com/argoproj/argo-cd/v2go>= 2.2.0, < 2.2.92.2.9
github.com/argoproj/argo-cd/v2go< 2.1.152.1.15
github.com/argoproj/argo-cdgo<= 1.8.72.1.15

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The provided patches primarily address error message handling (CWE-200) in Dex reverse proxy error responses (GHSA-xmg8-99r8-jc2j), not the JWT trust vulnerability (CVE-2022-29165). The critical JWT authentication bypass vulnerability's actual patched code (likely in JWT validation logic) is not present in the provided commit diffs. The shown changes in dex.go modify error message propagation but don't demonstrate the JWT claim validation logic that would be central to the described authentication bypass. Without seeing the actual JWT claim verification code changes in the provided patches, we cannot confidently identify vulnerable functions related to the core CVE-2022-29165 issue.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t * *riti**l vuln*r**ility **s ***n *is*ov*r** in *r*o ** w*i** woul* *llow un*ut**nti**t** us*rs to imp*rson*t* *s *ny *r*o ** us*r or rol*, in*lu*in* t** `**min` us*r, *y s*n*in* * sp**i*i**lly *r**t** JSON W** Tok*n (JWT) *lon* wit* t**

Reasoning

T** provi*** p*t***s prim*rily ***r*ss *rror m*ss*** **n*lin* (*W*-***) in **x r*v*rs* proxy *rror r*spons*s (**S*-xm**-**r*-j**j), not t** JWT trust vuln*r**ility (*V*-****-*****). T** *riti**l JWT *ut**nti**tion *yp*ss vuln*r**ility's **tu*l p*t***