llamaCVEVulnerability Intelligence
/
argo-cd

CVE-2022-24730

Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server

Specific setups onlySin parche publicado
Descargar PNG JSON
CVSS 3.1
7.7
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Fuente: CNA
6.5NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1.701 dDesde la divulgación, 23 mar 2022, 3:50 p. m.
Detección1.685 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v2.1.11 +2
Monitoreo
Detectada
Verificada
6 mar 22
23 mar 22
23 abr 25
3 nov 26
18 nov 26
19 nov 26
6 mar 22
10 may 23
13 jul 24
15 sept 25
19 nov 26
FechaFaseEventoDetalle
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
Resumen

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.

¿Qué significa?A malicious Argo CD user who has read-only access to a repository containing a Helm chart can use a path traversal flaw to leak sensitive files from the Argo CD repo-server. Leaked files can include files outside the intended directory, files from other Applications' source repositories, and mounted secrets.
¿Quién está afectado?Unpatched Argo CD versions from 1.3.0 onward are affected, including 1.3.0 through 2.1.10, 2.2.0 through 2.2.5, and 2.3.0-rc1 through 2.3.0-rc5. To check a setup, compare the installed Argo CD version against these ranges and confirm whether the relevant users have get access to a repository containing a Helm chart.
¿Qué hacer?Upgrade to Argo CD 2.1.11, 2.2.6, or 2.3.0, depending on the release line in use. Until upgrading, carefully limit who has get access to repositories, avoid storing secrets in git, avoid mounting secrets as files on the repo-server, and avoid decrypting secrets into files on the repo-server.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Argo CD unpatched versions from 1.3.0 onward (affected versions 1.3.0 through 2.1.10, 2.2.5, 2.3.0-rc5)“All unpatched versions of Argo CD starting with v1.3.0 are vulnerable”
02
The attacker has been granted get access for a repository containing a Helm chart“A malicious Argo CD user who has been granted get access for a repository containing a Helm chart”
¿Quién debe revisar?Teams running Argo CD 1.3.0 through 2.1.10, 2.2.5 or 2.3.0-rc5 that grant users get access to repositories holding Helm charts
No protegeWorkarounds are not a certain fix; only upgrading avoids the vulnerability.
MitigaciónMitigations: carefully limit who has get access to repositories, avoid storing secrets in git, avoid mounting secrets as files on the repo-server, avoid decrypting secrets into files on the repo-server
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
github.com/argoproj/argo-cd/v2< 2.1.11
argo-cd · github.com/argoproj/argo-cd≥ 1.3.0 < 2.1.11
argo-cd · github.com/argoproj/argo-cd/v2 · github.com/argoproj/argo-cd≥ 2.2.0 < 2.2.6
argo-cd · github.com/argoproj/argo-cd/v2 · github.com/argoproj/argo-cd≥ 2.3.0-rc1 < 2.3.0
1.3.0
v1.8.7
2.1.11
2.2.0
2.2.6
2.3.0-rc1
2.3.0
v2.14.21
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde 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
Versiones corregidas2.1.11v2.1.112.2.6v2.2.62.3.0v2.3.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/argoproj/argo-cd/security/advisories/GHSA-r9cr-hvjj-496v

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.