Skip to content
OpenAdvisories
Medium · 4.7 CVE-2024-41666 BIT-argo-cd-2024-41666EUVD-2024-2418GHSA-v8wx-v5jq-qhhwGO-2024-3006

The Argo CD web terminal session does not handle the revocation of user permissions properly.

Published Jul 24, 2024 · Updated Aug 12, 2024 · Assigned by GitHub_M

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD has a Web-based terminal that allows users to get a shell inside a running pod, just as they would with kubectl exec. Starting in version 2.6.0, when the administrator enables this function and grants permission to the user `p, role:myrole, exec, create, */*, allow`, even if the user revokes this permission, the user can still perform operations in the container, as long as the user keeps the terminal view open for a long time. Although the token expiration and revocation of the user are fixed, however, the fix does not address the situation of revocation of only user `p, role:myrole, exec, create, */*, allow` permissions, which may still lead to the leakage of sensitive information. A patch for this vulnerability has been released in Argo CD versions 2.11.7, 2.10.16, and 2.9.21.

Affected products

VendorProductAffectedFixed
argoproj argo-cd >= 2.6.0, < 2.9.21, >= 2.10.0, < 2.10.16, >= 2.11.0, < 2.11.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/argoproj/argo-cd all versions — GO-2024-3006
Go github.com/argoproj/argo-cd/v2 >= 2.6.0, < 2.9.21 2.9.21 GHSA-v8wx-v5jq-qhhw
Go github.com/argoproj/argo-cd/v2 >= 2.10.0, < 2.10.16 2.10.16 GHSA-v8wx-v5jq-qhhw
Go github.com/argoproj/argo-cd/v2 >= 2.11.0, < 2.11.7 2.11.7 GHSA-v8wx-v5jq-qhhw
Go github.com/argoproj/argo-cd/v2 >= 2.6.0, < 2.9.21 · >= 2.10.0, < 2.10.16 · >= 2.11.0, < 2.11.7 2.9.21, 2.10.16, 2.11.7 GO-2024-3006

References