Skip to main content

Incorrect Authorization in containerd/containerd

CVE-2023-25173

  • containerd/containerd
  • github.com/containerd/containerd
  • github.com/containerd/containerd/api
Severity High
Score 7.8/10

Summary

Containerd is an open source container runtime. A bug was found in containerd prior to versions 1.5.18,1.6.x prior to 1.6.18 and v1.7.x prior to v1.7.0-beta.4 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. Users should update to these versions and recreate containers to resolve this issue. Users who rely on a downstream application that uses containerd's client library should check that application for a separate advisory and instructions. As a workaround, 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.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-863 - Incorrect Authorization

Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.

Advisory Timeline

  • Published