CVE-2024-41666
JSON

4.7medium

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

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.69% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v8wx-v5jq-qhhwBIT-ARGO-CD-2024-41666GO-2024-3006

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

Product or packageVersionsReported by
argoproj argo-cd>= 2.6.0, < 2.9.21, >= 2.10.0, < 2.10.16, >= 2.11.0, < 2.11.7, from 2.6.0 before 2.9.21, from 2.10.0 before 2.10.16, from 2.11.0 before 2.11.7CVE List
github.com/argoproj/argo-cd/v2 (Go)from 2.6.0 before 2.9.21, from 2.10.0 before 2.10.16, from 2.11.0 before 2.11.7GitHub Advisory Database, Go Vulnerability Database
github.com/argoproj/argo-cd (Go)all versionsGo Vulnerability Database
argoproj argo_cdfrom 2.6.0 before 2.9.21, from 2.10.0 before 2.10.16, from 2.11.0 before 2.11.7NVD
argo-cd (Bitnami)from 2.6.0 before 2.11.7Bitnami Vulnerability Database

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
GitHub4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-269

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Argo CD v2.11.3 and before, discovering that even if the user's p, role:myrole, exec, create, */*, allow permissions are revoked, the user can still send any Websocket message, which allows the user to view sensitive information. Even though they shouldn't have such access.

Description

Argo CD has a Web-based terminal that allows you to get a shell inside a running pod, just like you would with kubectl exec. However, 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. CVE-2023-40025 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.

Patches

A patch for this vulnerability has been released in the following Argo CD versions:

v2.11.7 v2.10.16 v2.9.21

For more information

If you have any questions or comments about this advisory:

Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd

Credits

This vulnerability was found & reported by Shengjie Li, Huazhong University of Science and Technology Zhi Li, Huazhong University of Science and Technology Weijie Liu, Nankai University

The Argo team would like to thank these contributors for their responsible disclosure and constructive communications during the resolve of this issue

Go Vulnerability Database

The Argo CD web terminal session does not handle the revocation of user permissions properly in github.com/argoproj/argo-cd

NVD (es)

Argo CD es una herramienta declarativa de entrega continua de GitOps para Kubernetes. Argo CD tiene una terminal basada en web que permite a los usuarios obtener un shell dentro de un pod en ejecución, tal como lo harían con kubectl exec. A partir de la versión 2.6.0, cuando el administrador habilita esta función y otorga permiso al usuario `p, role:myrole, exec, create, */*, enable`, incluso si el usuario revoca este permiso, el usuario aún puede realizar operaciones en el contenedor, siempre y cuando el usuario mantenga abierta la vista del terminal durante mucho tiempo. Aunque la caducidad del token y la revocación del usuario están arregladas, la solución no aborda la situación de revocación de permisos únicamente del usuario `p, role:myrole, exec, create, */*, enable`, lo que aún puede conducir a la filtración de información sensible. Se lanzó un parche para esta vulnerabilidad en las versiones 2.11.7, 2.10.16 y 2.9.21 de Argo CD.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41666 changed 2024-08-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-v8wx-v5jq-qhhw changed 2026-08-07CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3006 changed 2026-08-07CC-BY-4.0
NVDCVE-2024-41666 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ARGO-CD-2024-41666 changed 2026-09-08Apache-2.0