CVE-2022-24730
Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v2.1.11 | github.com/argoproj/argo-cd/v2 · -17 d desde divulgación | |
| Remediación | Parche v2.2.6 | github.com/argoproj/argo-cd/v2 · -17 d desde divulgación | |
| Remediación | Parche v2.3.0 | github.com/argoproj/argo-cd/v2 · -17 d desde divulgación | |
| Divulgación | Publicada | CVE-2022-24730 divulgada · CVSS 7.7 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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.
Affects Argo CD from 1.3.0 through 2.1.10, 2.2.0 through 2.2.5, and 2.3.0-rc1 through 2.3.0-rc5, where a user with get access to a repository holding a Helm chart can leak files from the repo-server. Fixed in 2.1.11, 2.2.6, and 2.3.0.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/argoproj/argo-cd/v2 |
Corregida | v2.1.11, v2.2.6, v2.3.0 | -17 d · -17 d · -17 d | v2.14.21 no afectada |
gogithub.com/argoproj/argo-cd |
Sin parche | — | — | v1.8.7 afectada |
2.1.11v2.1.112.2.6v2.2.62.3.0v2.3.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/argoproj/argo-cd/security/advisories/GHSA-r9cr-hvjj-496vLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
