CWE
290 200 287
Advisory Published
Updated

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

First published: Fri May 20 2022(Updated: )

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. A critical vulnerability has been discovered in Argo CD starting with version 1.4.0 and prior to versions 2.1.15, 2.2.9, and 2.3.4 which would allow 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. In order for this vulnerability to be exploited, anonymous access to the Argo CD instance must have been enabled. In a default Argo CD installation, anonymous access is disabled. The vulnerability can be exploited to impersonate as any user or role, including the built-in `admin` account regardless of whether it is enabled or disabled. Also, the attacker does not need an account on the Argo CD instance in order to exploit this. If anonymous access to the instance is enabled, an attacker can escalate their privileges, effectively allowing them to gain the same privileges on the cluster as the Argo CD instance, which is cluster admin in a default installation. This will allow the attacker to create, manipulate and delete any resource on the cluster. They may also exfiltrate data by deploying malicious workloads with elevated privileges, thus bypassing any redaction of sensitive data otherwise enforced by the Argo CD API. A patch for this vulnerability has been released in Argo CD versions 2.3.4, 2.2.9, and 2.1.15. As a workaround, one may disable anonymous access, but upgrading to a patched version is preferable.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Linuxfoundation Argo-cd>=1.4.0<2.1.15
Linuxfoundation Argo-cd>=2.2.0<2.2.9
Linuxfoundation Argo-cd>=2.3.0<2.3.4
Argoproj Argo Cd>=1.4.0<2.1.15
Argoproj Argo Cd>=2.2.0<2.2.9
Argoproj Argo Cd>=2.3.0<2.3.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-29165?

    CVE-2022-29165 is a critical vulnerability in Argo CD, a declarative GitOps continuous delivery tool for Kubernetes.

  • Which versions of Argo CD are affected by CVE-2022-29165?

    Argo CD versions 1.4.0 to 2.1.15, 2.2.0 to 2.2.9, and 2.3.0 to 2.3.4 are affected by CVE-2022-29165.

  • What is the severity of CVE-2022-29165?

    CVE-2022-29165 has a severity rating of critical.

  • How can unauthenticated users exploit CVE-2022-29165?

    Unauthenticated users can exploit CVE-2022-29165 to impersonate any Argo CD user or role.

  • How can I fix CVE-2022-29165?

    To fix CVE-2022-29165, upgrade Argo CD to version 2.1.15, 2.2.9, or 2.3.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203