High severity · published Feb 16, 2023
CVE-2023-25173
containerd is an open source container runtime
7.8
CVSS
0.5%
EPSS
No
On KEV
Description
containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 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.
This bug has been fixed in containerd v1.6.18 and v.1.5.18. 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Containerd · Linuxfoundation
before 1.5.18; 1.6.0 before 1.6.18 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-25173
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-25173
Not Applicable
https://github.com/advisories/GHSA-4wjj-jwc9-2x96
Not Applicable
https://github.com/advisories/GHSA-fjm8-m7m6-2fjp
Not Applicable
https://github.com/advisories/GHSA-phjr-8j92-w5v7
Patch
https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460a
Release Notes
https://github.com/containerd/containerd/releases/tag/v1.5.18
Release Notes
https://github.com/containerd/containerd/releases/tag/v1.6.18
More from Containerd
9.9
CVE-2026-50195
containerd: CRI checkpoint import allows local image tag poisoning
9.6
CVE-2026-53492
containerd CRI checkpoint restore CDI annotation smuggling
9.1
CVE-2021-43816
containerd is an open source container runtime
8.8
CVE-2026-53488
containerd CRI plugin: — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull
7.8
CVE-2026-46680
containerd user ID handling bypass allows runAsNonRoot evasion
