Vulnerability · Published Jul 24, 2024 · Assigned by GitHub_M

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

Medium 4.7

In plain English

A medium-severity privilege mismanagement in argo-cd from argoproj. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.7%top 47.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/argoproj/argo-cdno fix listedGO-2024-3006
Gogithub.com/argoproj/argo-cd/v22.9.21GHSA-v8wx-v5jq-qhhw
Gogithub.com/argoproj/argo-cd/v22.10.16GHSA-v8wx-v5jq-qhhw
Gogithub.com/argoproj/argo-cd/v22.11.7GHSA-v8wx-v5jq-qhhw
Gogithub.com/argoproj/argo-cd/v22.10.16, 2.11.7, 2.9.21GO-2024-3006

Affected products (as reported)

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

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

References