CVE-2023-25173
Last modified
CVE-2023-25173 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Containerd | < 1.5.18 |
| Linuxfoundation | Containerd | >= 1.6.0, < 1.6.18 |
References
- https://github.com/advisories/GHSA-4wjj-jwc9-2x96Not Applicable
- https://github.com/advisories/GHSA-fjm8-m7m6-2fjpNot Applicable
- https://github.com/advisories/GHSA-phjr-8j92-w5v7Not Applicable
- https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653pMitigation, Vendor Advisory
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/Exploit, Third Party Advisory
- https://github.com/advisories/GHSA-4wjj-jwc9-2x96Not Applicable
- https://github.com/advisories/GHSA-fjm8-m7m6-2fjpNot Applicable
- https://github.com/advisories/GHSA-phjr-8j92-w5v7Not Applicable
- https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653pMitigation, Vendor Advisory
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-25173?
How severe is CVE-2023-25173?
How do I fix CVE-2023-25173?
Are you affected by CVE-2023-25173?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
