PT-2022-2704 · Argo Cd · Argo Cd

Andrzej Hajto

+1

·

Published

2022-05-20

·

Updated

2024-08-21

·

CVE-2022-29165

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Argo CD versions 1.4.0 through 2.1.14 Argo CD versions 2.2.0 through 2.2.8 Argo CD versions 2.3.0 through 2.3.3
Description A critical issue has been discovered in Argo CD that allows unauthenticated users to impersonate as any Argo CD user or role, including the admin user, by sending a specifically crafted JSON Web Token (JWT) along with the request. This can be exploited if anonymous access to the Argo CD instance is enabled. In a default installation, anonymous access is disabled. The issue can be exploited to escalate privileges, allowing an attacker to gain cluster admin privileges, create, manipulate, and delete resources, and exfiltrate data by deploying malicious workloads with elevated privileges.
Recommendations For Argo CD versions 1.4.0 through 2.1.14, upgrade to version 2.1.15 or later. For Argo CD versions 2.2.0 through 2.2.8, upgrade to version 2.2.9 or later. For Argo CD versions 2.3.0 through 2.3.3, upgrade to version 2.3.4 or later. As a temporary workaround, consider disabling anonymous access to the Argo CD instance by patching the argocd-cm ConfigMap to set users.anonymous.enabled to "false" or removing this field.

Exploit

Fix

Improper Authentication

Information Disclosure

Authentication Bypass by Spoofing

Weakness Enumeration

Related Identifiers

BDU:2022-03200
CVE-2022-29165
GHSA-R642-GV9P-2WJJ
GO-2022-0455

Affected Products

Argo Cd