{"id":"CVE-2024-41666","state":"PUBLISHED","title":"The Argo CD web terminal session does not handle the revocation of user permissions properly.","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.","publishedAt":"2024-07-24T17:16:37.730Z","updatedAt":"2024-08-12T21:02:57.505Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["argoproj argo-cd"],"affected":[{"vendor":"argoproj","product":"argo-cd","versions":[{"version":">= 2.6.0, < 2.9.21","status":"affected"},{"version":">= 2.10.0, < 2.10.16","status":"affected"},{"version":">= 2.11.0, < 2.11.7","status":"affected"}]}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw","https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476","https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6","https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4","https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/41xxx/CVE-2024-41666.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-41666","state":"PUBLISHED","datePublished":"2024-07-24T17:16:37.730Z","dateUpdated":"2024-08-12T21:02:57.505Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-07-18T15:21:47.484Z"},"containers":{"cna":{"title":"The Argo CD web terminal session does not handle the revocation of user permissions properly.","descriptions":[{"lang":"en","value":"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":[{"vendor":"argoproj","product":"argo-cd","versions":[{"version":">= 2.6.0, < 2.9.21","status":"affected"},{"version":">= 2.10.0, < 2.10.16","status":"affected"},{"version":">= 2.11.0, < 2.11.7","status":"affected"}]}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw","name":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476","name":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6","name":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4","name":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4","tags":["x_refsource_MISC"]},{"url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing","name":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","lang":"en","description":"CWE-269: Improper Privilege Management","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-07-24T17:16:37.730Z"},"source":{"advisory":"GHSA-v8wx-v5jq-qhhw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"argoproj","product":"argo-cd","defaultStatus":"unknown","versions":[{"version":"2.6.0","status":"affected","lessThan":"2.9.21","versionType":"custom"},{"version":"2.10.0","status":"affected","lessThan":"2.10.16","versionType":"custom"},{"version":"2.11.0","status":"affected","lessThan":"2.11.7","versionType":"custom"}],"cpes":["cpe:2.3:a:argoproj:argo-cd:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-24T18:05:21.749595Z","id":"CVE-2024-41666","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-12T21:02:57.505Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw","name":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476","name":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6","name":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4","name":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing","name":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:46:52.923Z"}}]}}}