CVE-2022-29165CWE-200CWE-287CWE-290

Argo CD will blindly trust JWT claims if anonymous access is enabled

Critical · published May 20, 2022

CVSS v3.1
10.0
EPSS
2%
Percentile
81.6
In the wild
Unconfirmed
What it is

🚨 An unauthenticated user with a crafted JSON Web Token can impersonate ANY Argo CD user—including the all-powerful `admin`! 🔥 Imagine a restaurant where anyone can walk in and simply declare themselves as the head chef, gaining access to all the kitchen secrets and ingredients without anyone batting an eye. That's what this vulnerability does to Argo CD! This critical flaw allows attackers to elevate their privileges without any authentication, letting them create, manipulate, or delete any resource in your Kubernetes cluster. Picture losing control of your entire kitchen because someone else is now calling the shots—exfiltrating sensitive data or deploying malicious workloads with ease!

Put simply

Imagine a restaurant where anyone can walk in and simply declare themselves as the head chef, gaining access to all the kitchen secrets and ingredients without anyone batting an eye. That's what this vulnerability does to Argo CD! CVE-2022-29165 enables unauthenticated users to impersonate any Argo CD user or role through a specially crafted JWT, especially if anonymous access is enabled. This means attackers can gain full access to the cluster's capabilities, even if the `admin` account is disabled.

What to do

This critical flaw allows attackers to elevate their privileges without any authentication, letting them create, manipulate, or delete any resource in your Kubernetes cluster. Picture losing control of your entire kitchen because someone else is now calling the shots—exfiltrating sensitive data or deploying malicious workloads with ease! Upgrade to Argo CD versions 2.3.4, 2.2.9, or 2.1.15 immediately to patch this vulnerability. As a temporary measure, disable anonymous access to reduce risk until you can upgrade. You've got this! Follow these steps, and reclaim your security like the hero you are! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02103 · 81.6th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-287 · Improper Authentication; CWE-290 · Authentication Bypass by Spoofing
Published
2022-05-20T14:15Z
EPSS history
Timeline
  • 20 MAY 14:15Z
    Argo CD will blindly trust JWT claims if anonymous access is enabled
    cvelistv5