CVE-2023-25173
published 2023-02-16CVE-2023-25173: 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…
PriorityP341high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.54%
41.4th percentile
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.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| containerd | containerd | < 1.5.18 | 1.5.18 |
| containerd | containerd | — | — |
| containerd | containerd | >= 0 < 1.4.13~ds1-1~deb11u4 | 1.4.13~ds1-1~deb11u4 |
| containerd | containerd | >= 0 < 1.6.18~ds1-1 | 1.6.18~ds1-1 |
| containerd | containerd | >= 0 < 1.6.18~ds1-1 | 1.6.18~ds1-1 |
| containerd | containerd | >= 0 < 1.6.18~ds1-1 | 1.6.18~ds1-1 |
| containerd | containerd | >= 0 < 1.6.12-0ubuntu1~20.04.3 | 1.6.12-0ubuntu1~20.04.3 |
| containerd | containerd | >= 0 < 1.6.12-0ubuntu1~22.04.3 | 1.6.12-0ubuntu1~22.04.3 |
| containerd | containerd | >= 0 < 1.2.6-0ubuntu1~16.04.6+esm4 | 1.2.6-0ubuntu1~16.04.6+esm4 |
| containerd | containerd | >= 0 < 1.6.12-0ubuntu1~18.04.1+esm1 | 1.6.12-0ubuntu1~18.04.1+esm1 |
| debian | containerd | < containerd 1.6.18~ds1-1 (bookworm) | containerd 1.6.18~ds1-1 (bookworm) |
| github.com | containerd_containerd | >= 0 < 1.5.18 | 1.5.18 |
| github.com | containerd_containerd | >= 1.6.0 < 1.6.18 | 1.6.18 |
| linuxfoundation | containerd | < 1.5.18 | 1.5.18 |
| linuxfoundation | containerd | >= 1.6.0 < 1.6.18 | 1.6.18 |
| msrc | cbl2_k3s_1.24.12-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_moby-containerd_1.6.18-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_moby-containerd_1.6.6+azure-9_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ghsa7.1HIGH
osv7.8HIGH
vendor_msrc7.8HIGH
vendor_ubuntu6.2MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
containerd vulnerabilities
vendor_ubuntu·2023-07-05·CVSS 6.2
CVE-2023-25153 [MEDIUM] containerd vulnerabilities
Title: containerd vulnerabilities
Summary: Several security issues were fixed in containerd.
David Korczynski and Adam Korczynski discovered that containerd
incorrectly processed certain images with large files. An attacker
could possibly use this issue to cause containerd to crash,
resulting in a denial of service. (CVE-2023-25153)
It was discovered that containerd incorrectly set up supplementary
groups inside a container. An attacker with direct access to the
container could possibly use this issue to obtain sensitive information
or execute code with higher privileges. (CVE-2023-25173)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
containerd: Supplementary groups are not set up properly
vendor_redhat·2023-02-15·CVSS 5.3
CVE-2023-25173 [MEDIUM] CWE-842 containerd: Supplementary groups are not set up properly
containerd: Supplementary groups are not set up properly
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 rel
Microsoft
containerd supplementary groups are not set up properly
vendor_msrc·2023-02-14·CVSS 7.8
CVE-2023-25173 [MEDIUM] CWE-863 containerd supplementary groups are not set up properly
containerd supplementary groups are not set up properly
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https:/
Debian
CVE-2023-25173: containerd - containerd is an open source container runtime. A bug was found in containerd pr...
vendor_debian·2023·CVSS 5.3
CVE-2023-25173 [MEDIUM] CVE-2023-25173: containerd - containerd is an open source container runtime. A bug was found in containerd pr...
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 clien
OSV
containerd vulnerabilities
osv·2023-07-05·CVSS 5.5
CVE-2023-25153 [MEDIUM] containerd vulnerabilities
containerd vulnerabilities
David Korczynski and Adam Korczynski discovered that containerd
incorrectly processed certain images with large files. An attacker
could possibly use this issue to cause containerd to crash,
resulting in a denial of service. (CVE-2023-25153)
It was discovered that containerd incorrectly set up supplementary
groups inside a container. An attacker with direct access to the
container could possibly use this issue to obtain sensitive information
or execute code with higher privileges. (CVE-2023-25173)
OSV
Privilege escalation via supplementary groups in github.com/containerd/containerd
osv·2023-02-17
CVE-2023-25173 Privilege escalation via supplementary groups in github.com/containerd/containerd
Privilege escalation via supplementary groups in github.com/containerd/containerd
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 and potentially escalate privileges in the container. Uses of the containerd client library may also have improperly setup supplementary groups.
OSV
CVE-2023-25173: containerd is an open source container runtime
osv·2023-02-16·CVSS 7.8
CVE-2023-25173 [HIGH] CVE-2023-25173: containerd is an open source container runtime
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 clien
OSV
Supplementary groups are not set up properly in github.com/containerd/containerd
osv·2023-02-16·CVSS 7.1
CVE-2023-25173 [HIGH] Supplementary groups are not set up properly in github.com/containerd/containerd
Supplementary groups are not set up properly in github.com/containerd/containerd
### Impact
A bug was found in containerd 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.
### Patches
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
GHSA
Supplementary groups are not set up properly in github.com/containerd/containerd
ghsa·2023-02-16·CVSS 7.1
CVE-2023-25173 [HIGH] CWE-269 Supplementary groups are not set up properly in github.com/containerd/containerd
Supplementary groups are not set up properly in github.com/containerd/containerd
### Impact
A bug was found in containerd 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.
### Patches
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
No detection rules found.
No public exploits indexed.
https://github.com/advisories/GHSA-4wjj-jwc9-2x96https://github.com/advisories/GHSA-fjm8-m7m6-2fjphttps://github.com/advisories/GHSA-phjr-8j92-w5v7https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460ahttps://github.com/containerd/containerd/releases/tag/v1.5.18https://github.com/containerd/containerd/releases/tag/v1.6.18https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653phttps://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/https://github.com/advisories/GHSA-4wjj-jwc9-2x96https://github.com/advisories/GHSA-fjm8-m7m6-2fjphttps://github.com/advisories/GHSA-phjr-8j92-w5v7https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460ahttps://github.com/containerd/containerd/releases/tag/v1.5.18https://github.com/containerd/containerd/releases/tag/v1.6.18https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653phttps://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/
2023-02-16
Published