CVE-2023-25173
Published on: Not Yet Published
Last Modified on: 02/24/2023 04:56:00 PM UTC
Certain versions of Containerd from Linuxfoundation contain the following vulnerability:
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.
- CVE-2023-25173 has been assigned by
[email protected] to track the vulnerability - currently rated as HIGH severity.
- Affected Vendor/Software:
containerd - containerd version = < 1.5.18
- Affected Vendor/Software:
containerd - containerd version = >= 1.6.0, < 1.6.18
CVSS3 Score: 7.8 - HIGH
Attack Vector ⓘ |
Attack Complexity |
Privileges Required |
User Interaction |
---|---|---|---|
LOCAL | LOW | LOW | NONE |
Scope | Confidentiality Impact |
Integrity Impact |
Availability Impact |
UNCHANGED | HIGH | HIGH | HIGH |
CVE References
Description | Tags ⓘ | Link |
---|---|---|
Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification · CVE-2022-2990 · GitHub Advisory Database · GitHub | github.com text/html |
![]() |
Merge pull request from GHSA-hmfx-3pcx-653p · containerd/[email protected] · GitHub | github.com text/html |
![]() |
Release containerd 1.6.18 · containerd/containerd · GitHub | github.com text/html |
![]() |
Vulnerability in Linux containers – investigation and mitigation – Bentham’s Gaze | www.benthamsgaze.org text/html |
![]() |
Supplementary groups are not set up properly · Advisory · containerd/containerd · GitHub | github.com text/html |
![]() |
CRI-O incorrect handling of supplementary groups may lead to sensitive information disclosure · CVE-2022-2995 · GitHub Advisory Database · GitHub | github.com text/html |
![]() |
Podman's incorrect handling of the supplementary groups may lead to data disclosure, modification · CVE-2022-2989 · GitHub Advisory Database · GitHub | github.com text/html |
![]() |
Release containerd 1.5.18 · containerd/containerd · GitHub | github.com text/html |
![]() |
Security vulnerability relating to supplementary group permissions · Advisory · moby/moby · GitHub | github.com text/html |
![]() |
Related QID Numbers
- 283789 Fedora Security Update for stargz (FEDORA-2023-ee472c698c)
- 283793 Fedora Security Update for containerd (FEDORA-2023-aadd08ab96)
- 283794 Fedora Security Update for containerd (FEDORA-2023-05b39bc048)
- 905553 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-containerd (13591)
- 905559 Common Base Linux Mariner (CBL-Mariner) Security Update for k3s (13570)
- 905612 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-containerd (13673)
- 906541 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-containerd (13591-1)
Exploit/POC from Github
containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 whe…
Known Affected Configurations (CPE V2.3)
Type | Vendor | Product | Version | Update | Edition | Language |
---|---|---|---|---|---|---|
Application | Linuxfoundation | Containerd | All | All | All | All |
- cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*:
Social Mentions
Source | Title | Posted (UTC) |
---|---|---|
![]() |
CVE-2023-25173はcontainerdだけじゃなくて、Docker/Moby/CRI-O/Podman/Buildahにも同様のCVEが発行されています。containerのグループ権限周りの脆弱性で興味深かった。影響… twitter.com/i/web/status/1… | 2023-02-16 06:01:08 |
![]() |
CVE-2023-25173 : containerd is an open source container runtime. A bug was found in containerd prior to versions 1.… twitter.com/i/web/status/1… | 2023-02-16 15:07:20 |
![]() |
CVE-2023-25173 | 2023-02-16 15:38:40 |