Steven J. Murdoch

Researcher fromUniversity College London (UCL)
#7005of 53,635
38.9Total CVSS
Vulnerabilities · 6
Medium
2
High
4
PT-2022-6457
7.1
2022-09-14
Docker · Moby · CVE-2023-25173
**Name of the Vulnerable Software and Affected Versions** containerd versions prior to 1.6.18 and 1.5.18 Moby (Docker Engine) versions prior to 20.10.18 CRI-O (affected versions not specified) Buildah (affected versions not specified) Podman (affected versions not specified) **Description** A bug was found in containerd, Moby (Docker Engine), CRI-O, Buildah, and Podman where supplementary groups are not set up properly inside a container. 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. Downstream applications that use the containerd client library may be affected as well. **Recommendations** For containerd versions prior to 1.6.18 and 1.5.18: Update to versions 1.6.18 and 1.5.18 and recreate containers to resolve this issue. For Moby (Docker Engine) versions prior to 20.10.18: Update to version 20.10.18 when it is available and stop and restart running containers for the permissions to be fixed. For CRI-O, Buildah, and Podman: At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround for all affected versions, ensure that the "USER $USERNAME" Dockerfile instruction is not used. Instead, set the container entrypoint to a value similar to `ENTRYPOINT ["su", "-", "user"]` to allow `su` to properly set up supplementary groups.
PT-2022-19895
7.1
2022-08-22
Docker · Docker · CVE-2022-2989
**Name of the Vulnerable Software and Affected Versions** Moby (Docker Engine) versions prior to 20.10.18 Podman (affected versions not specified) CRI-O (affected versions not specified) Buildah (affected versions not specified) Docker (affected versions not specified) **Description** An incorrect handling of supplementary groups in container engines might lead to sensitive information disclosure or possible data modification if an attacker has direct access to the affected container and is able to execute binary code. This issue can allow attackers to bypass primary group restrictions, potentially gaining access to sensitive information or gaining the ability to execute code in the container. The problem occurs when supplementary groups are not set up properly, permitting unauthorized access to files. **Recommendations** For Moby (Docker Engine) versions prior to 20.10.18, update to version 20.10.18 or later. For users unable to upgrade to Moby (Docker Engine) version 20.10.18 or later, do not use the "USER $USERNAME" Dockerfile instruction; instead, call ENTRYPOINT ["su", "-", "user"] to set up supplementary groups properly. As a temporary workaround for other affected container engines, consider restricting access to containers where supplementary groups are used to set access permissions until a patch is available. For containers where SGID programs are executed, consider disabling the execution of these programs until the issue is resolved.
PT-2022-19901
7.1
2022-08-22
Moby · Moby · CVE-2022-2990
**Name of the Vulnerable Software and Affected Versions** Buildah versions prior to 20.10.18 CRI-O versions prior to 20.10.18 Docker versions prior to 20.10.18 Moby (Docker Engine) versions prior to 20.10.18 Podman versions prior to 20.10.18 **Description** The issue arises from an incorrect handling of supplementary groups in various container engines, including Buildah, CRI-O, Docker, Moby, and Podman. This might lead to sensitive information disclosure or possible data modification if an attacker has direct access to the affected container and is able to execute binary code within it. The problem occurs when supplementary groups are not set up properly, allowing attackers to bypass primary group restrictions in some cases and potentially escalate privileges within the container. For instance, SGID programs executed in a container can access files with negative group permissions for the user's primary group, due to the container engine's failure to correctly add the primary group to the supplementary groups. **Recommendations** For Buildah versions prior to 20.10.18: Update to version 20.10.18 or later. For CRI-O versions prior to 20.10.18: Update to version 20.10.18 or later. For Docker versions prior to 20.10.18: Update to version 20.10.18 or later, and consider stopping and restarting running containers for the permissions to be fixed. As a temporary workaround, avoid using the "USER $USERNAME" Dockerfile instruction; instead, use ENTRYPOINT ["su", "-", "user"] to set up supplementary groups properly. For Moby (Docker Engine) versions prior to 20.10.18: Update to version 20.10.18 or later. For Podman versions prior to 20.10.18: Update to version 20.10.18 or later.