Alexmt

#6139of 53,622
44.3Total CVSS
Vulnerabilities · 5
Medium
1
High
1
Critical
3
PT-2022-6942
7.7
2022-03-23
Argo Cd · Argo Cd · CVE-2022-24730
**Name of the Vulnerable Software and Affected Versions** Argo CD versions 1.3.0 through 2.1.10 Argo CD versions 2.2.0 through 2.2.5 Argo CD versions 2.3.0 and earlier, excluding 2.3.0 itself as it is a fixed version **Description** The issue is related to a path traversal bug compounded by an improper access control bug in Argo CD, 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. 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. **Recommendations** For Argo CD versions 1.3.0 through 2.1.10, update to version 2.1.11 or later. For Argo CD versions 2.2.0 through 2.2.5, update to version 2.2.6 or later. For Argo CD versions prior to 2.3.0, update to version 2.3.0 or later. As a temporary workaround, consider avoiding storing secrets in git, avoiding mounting secrets as files on the repo-server, avoiding decrypting secrets into files on the repo-server, and carefully limiting who has `get` access for repositories.
PT-2022-2057
10
2022-03-22
Argo Cd · Argo Cd · CVE-2022-1025
**Name of the Vulnerable Software and Affected Versions** Argo CD versions 1.0.0 and earlier Argo CD versions 0.8.0 through 0.9.x Argo CD versions 0.5.0 through 0.7.x **Description** The issue is related to an improper access control bug in Argo CD, allowing a malicious user to potentially escalate their privileges to admin-level. This can be achieved if the user has push access to an Application's source git or Helm repository or `sync` and `override` access to an Application. The exploitation levels vary depending on the user's other RBAC privileges, including `update`, `delete`, `get`, and `action` access to Applications. A related exploit is possible for a user with `get` access to an Application, allowing them to access any Event in the Application's destination cluster if they know the involved object's name, UID, and namespace. **Recommendations** For versions 2.0.x and earlier, upgrade to a newer version, such as v2.3.2, v2.2.8, or v2.1.14, by following the upgrade instructions in the changelog. For argo-helm chart users deploying v2.3.x, upgrade the chart to version 4.2.2. For Argo CD 2.2 and 2.1 users, set the `global.image.tag` value to the latest in the current release series (v2.2.8 or v2.1.14). As a temporary workaround, consider limiting who has push access to Application source repositories or `sync` and `override` access to Applications, and limiting which repositories are available in projects where users have `update` access to Applications. Limit who has `delete`, `get`, or `action` access to Applications to avoid unauthorized resource inspection/tampering.