GO-2023-1574
Privilege escalation via supplementary groups in github.com/containerd/containerd
Quick fix
GO-2023-1574 — github.com/containerd/containerd: upgrade to the fixed version with the command below.
go get github.com/containerd/containerd@v1.5.18Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.5.18go get github.com/containerd/containerd@v1.5.18References
- 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]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/containerd/containerd"]}'