llamaCVEVulnerability Intelligence
/
Helm

CVE-2020-11013

lookup Function Information Discolosure in Helm

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
8.5
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N Fuente: CNA
5.0NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -2 d de la divulgación
Exposición2.400 dDesde la divulgación, 24 abr 2020, 3:05 p. m.
Detección2.383 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche v3.1.3
Monitoreo
Detectada
Verificada
22 abr 20
24 abr 20
4 ago 24
3 nov 26
18 nov 26
20 nov 26
22 abr 20
14 dic 21
7 ago 23
30 mar 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche v3.1.3 helm.sh/helm/v3 · -2 d desde divulgación
Divulgación Publicada CVE-2020-11013 divulgada · CVSS 8.5 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Their is an information disclosure vulnerability in Helm from version 3.1.0 and before version 3.2.0. `lookup` is a Helm template function introduced in Helm v3. It is able to lookup resources in the cluster to check for the existence of specific resources and get details about them. This can be used as part of the process to render templates. The documented behavior of `helm template` states that it does not attach to a remote cluster. However, a the recently added `lookup` template function circumvents this restriction and connects to the cluster even during `helm template` and `helm install|update|delete|rollback --dry-run`. The user is not notified of this behavior. Running `helm template` should not make calls to a cluster. This is different from `install`, which is presumed to have access to a cluster in order to load resources into Kubernetes. Helm 2 is unaffected by this vulnerability. A malicious chart author could inject a `lookup` into a chart that, when rendered through `helm template`, performs unannounced lookups against the cluster a user's `KUBECONFIG` file points to. This information can then be disclosed via the output of `helm template`. This issue has been fixed in Helm 3.2.0

Affects Helm 3.1.0 through 3.1.2 when rendering charts whose templates call the lookup function. Fixed in Helm 3.2.0.

¿Qué significa?A malicious chart can make unannounced lookups against the cluster in the user's KUBECONFIG, and the cluster information can then be disclosed in the output of helm template.
¿Quién está afectado?Helm 3.1.0 to 3.1.2 is affected (the advisory's description says 3.0.0-3.1.2), and the setup involves charts whose templates call the lookup function. Running helm version shows the installed release, and checking the chart's templates/ directory for lookup shows whether a chart uses it.
¿Qué hacer?Upgrade to Helm 3.2.0, which fixes this issue. Until the upgrade is possible, point the KUBECONFIG environment variable at an empty Kubernetes configuration file, or manually check the templates/ directory for lookup before rendering.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Helm 3.x releases 3.1.0 to 3.1.2 (the advisory's description says 3.0.0-3.1.2)“Helm 3.0.0-3.1.2”
02
A chart whose templates call the lookup function“A malicious chart author could inject a lookup into a chart”
¿Quién debe revisar?Teams running Helm 3.1.0 to 3.1.2 who use helm template or --dry-run on charts they do not fully trust.
MitigaciónPoint the KUBECONFIG environment variable at an empty Kubernetes configuration file, or manually check the templates/ directory for lookup before rendering.
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:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
helm.sh/helm/v3≥ 3.0.0 < 3.1.3
Helm≥ 3.1.0 < 3.2.0
3.0.0
3.1.0
3.1.3
3.2.0
v3.22.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gohelm.sh/helm/v3
Corregida v3.1.3 -2 d v3.22.1 no afectada
Versiones corregidasv3.1.33.2.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/helm/helm/security/advisories/GHSA-q8q8-93cv-v6h8
Otrahttps://github.com/helm/helm/releases/tag/v3.2.0

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