llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/containerd/containerd

GHSA-C9CP-9C75-9V8C

containerd started with non-empty inheritable Linux process capabilities

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versionesPrimer parche a -782 d de la divulgación
Exposición918 dDesde la divulgación, 14 may 2024, 5:04 p. m.
Detección916 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 v1.5.11 +1
Monitoreo
Detectada
24 mar 22
14 may 24
8 jul 24
17 nov 26
19 nov 26
24 mar 22
24 may 23
22 jul 24
20 sept 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.5.11 github.com/containerd/containerd · -782 d desde divulgación
Remediación Parche v1.6.2 github.com/containerd/containerd · -782 d desde divulgación
Divulgación Publicada GHSA-C9CP-9C75-9V8C 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
Impact

A bug was found in containerd where containers were incorrectly started with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during `execve(2)`. Normally, when executable programs have specified permitted file capabilities, otherwise unprivileged users and processes can execute those programs and gain the specified file capabilities up to the bounding set. Due to this bug, containers which included executable programs with inheritable file capabilities allowed otherwise unprivileged users and processes to additionally gain these inheritable file capabilities up to the container's bounding set. Containers which use Linux users and groups to perform privilege separation inside the container are most directly impacted.

This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set.

Patches

This bug has been fixed in containerd 1.5.11 and 1.6.2. Users should update to these versions as soon as possible. Running containers should be stopped, deleted, and recreated for the inheritable capabilities to be reset.

This fix changes containerd behavior such that containers are started with a more typical Linux environment. Refer to `capabilities(7)` for a description of how capabilities work. Note that permitted file capabilities continue to allow for privileges to be raised up to the container's bounding set and that processes may add capabilities to their own inheritable set up to the container's bounding set per the rules described in the manual page. In all cases the container's bounding set provides an upper bound on the capabilities that can be assumed and provides for the container security sandbox.

Workarounds

The entrypoint of a container can be modified to use a utility like `capsh(1)` to drop inheritable capabilities prior to the primary process starting.

For more information

If you have any questions or comments about this advisory:

  • Open an issue https://github.com/containerd/containerd/issues/new
  • Email us at [security@containerd.io](mailto:security@containerd.io) if you think you’ve found a security bug
Versiones

Rangos afectados

Afectada Corregida Última
github.com/containerd/containerd< 1.5.11
github.com/containerd/containerd≥ 1.6.0 < 1.6.2
1.5.11
1.6.0
1.6.2
v1.7.36
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/containerd/containerd
Corregida v1.5.11, v1.6.2 -782 d · -782 d v1.7.36 no afectada
Versiones corregidas1.5.11v1.5.111.6.2v1.6.2
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c
Otrahttps://github.com/containerd/containerd/commit/e9af808591ee1468f9b0ad6a0d41fdf93ee0c1bc
Otrahttps://github.com/containerd/containerd

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