GO-2023-1574
Privilege escalation via supplementary groups in github.com/containerd/containerd
At a glance
- Published
- Updated
- CVE
- CVE-2023-25173
- Aliases
- GHSA-hmfx-3pcx-653p
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/containerd/containerd | introduced 0, fixed 1.5.18, introduced 1.6.0, fixed 1.6.18 |
References
- https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653p ADVISORY
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/ ARTICLE
- https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460a FIX
- https://github.com/advisories/GHSA-4wjj-jwc9-2x96 WEB
- https://github.com/advisories/GHSA-fjm8-m7m6-2fjp WEB
- https://github.com/advisories/GHSA-phjr-8j92-w5v7 WEB
- https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |