CVE-2022-24730
"Argo CD Path Traversal and Access Control Vulnerability"
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.3.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal bug, compounded by an improper access control bug, allowing a malicious user with read-only repository access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `get` access for a repository containing a Helm chart can craft an API request to the `/api/v1/repositories/{repo_url}/appdetails` endpoint to leak the contents of out-of-bounds files from the repo-server. The malicious payload would reference an out-of-bounds file, and the contents of that file would be returned as part of the response. Contents from a non-YAML file may be returned as part of an error message. The attacker would have to know or guess the location of the target file. Sensitive files which could be leaked include files from other Applications' source repositories or any secrets which have been mounted as files on the repo-server. This vulnerability is patched in Argo CD versions 2.1.11, 2.2.6, and 2.3.0. The patches prevent path traversal and limit access to users who either A) have been granted Application `create` privileges or B) have been granted Application `get` privileges and are requesting details for a `repo_url` that has already been used for the given Application. There are currently no known workarounds.
INFO
Published Date :
March 23, 2022, 9:15 p.m.
Last Modified :
Aug. 7, 2024, 3:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
3.1
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-24730
.
URL | Resource |
---|---|
https://github.com/argoproj/argo-cd/security/advisories/GHSA-r9cr-hvjj-496v | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-24730
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24730
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc4:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.0:rc4:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 1.3.0 from (excluding) 2.1.11 OR *cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* versions from (including) 1.3.0 from (excluding) 2.1.11 -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.0:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc5:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.0:rc5:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 2.2.0 from (excluding) 2.2.6 OR *cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* versions from (including) 2.2.0 from (excluding) 2.2.6 -
CPE Deprecation Remap by [email protected]
Aug. 07, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.0:rc2:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jun. 23, 2023
Action Type Old Value New Value Removed CWE NIST CWE-209 Added CWE NIST CWE-863 -
Initial Analysis by [email protected]
Apr. 01, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/argoproj/argo-cd/security/advisories/GHSA-r9cr-hvjj-496v No Types Assigned https://github.com/argoproj/argo-cd/security/advisories/GHSA-r9cr-hvjj-496v Third Party Advisory Added CWE NIST CWE-209 Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 1.3.0 up to (excluding) 2.1.11 *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.2.6 *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc1:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc2:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc4:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:argo-cd:2.3.0:rc5:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24730
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-24730
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.03%
score
0.40232
percentile