← volver
CVE-2022-36109

Moby vulnerability relating to supplementary group permissions

CVSS 5.3 MEDIUMEPSS 0.8%CWE-863
En resumen

Docker Engine tiene un bug donde los grupos suplementarios (permisos secundarios de usuarios) no se configuran correctamente en contenedores. Un atacante con acceso al contenedor podría explotar esto para eludir controles de acceso basados en grupos y acceder a datos sensibles o ejecutar código no autorizado.

Detalle técnico

CVE-2022-36109 implica la inicialización inadecuada de grupos suplementarios en Moby/Docker Engine al usar la instrucción USER en Dockerfile. Un atacante autenticado con acceso directo al contenedor puede manipular la asociación de grupos suplementarios para eludir restricciones de grupo primario, potencialmente escalando privilegios o accediendo a recursos restringidos. Se corrigió en la versión 20.10.18; los contenedores existentes requieren reinicio para aplicar las correcciones de permisos.

Resumen generado y traducido por IA a partir de la descripción oficial.
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where supplementary groups are not set up properly. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. This bug is fixed in Moby (Docker Engine) 20.10.18. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade, this problem can be worked around by not using the `"USER $USERNAME"` Dockerfile instruction. Instead by calling `ENTRYPOINT ["su", "-", "user"]` the supplementary groups will be set up properly.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Productos afectados
moby · moby

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →