cve.bz

CVE-2023-25173 linuxfoundation containerd: Incorrect Authorization

7.8 highExploit referenceEPSS 0.5%Fix available

High (7.8) in linuxfoundation containerd. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/containerd 1.5.18, 1.6.18.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-25173 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-25173?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-25173?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-25173 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:containerdbefore 1.5.18
linuxfoundation:containerdfrom 1.6.0 before 1.6.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hmfx-3pcx-653pGogithub.com/containerd/containerd<1.5.181.5.18
GHSA-hmfx-3pcx-653pGogithub.com/containerd/containerd>=1.6.0 <1.6.181.6.18
GO-2023-1574Gogithub.com/containerd/containerd<1.5.18
>=1.6.0 <1.6.18
1.5.18, 1.6.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14containerd1.6.18~ds1-1DEBIAN-CVE-2023-25173
Ubuntu20.04:LTScontainerd1.6.12-0ubuntu1~20.04.3UBUNTU-CVE-2023-25173 USN-6202-1
Ubuntu22.04:LTScontainerd1.6.12-0ubuntu1~22.04.3UBUNTU-CVE-2023-25173 USN-6202-1
UbuntuPro:16.04:LTScontainerd1.2.6-0ubuntu1~16.04.6+esm4UBUNTU-CVE-2023-25173 USN-6202-1
UbuntuPro:18.04:LTScontainerd1.6.12-0ubuntu1~18.04.1+esm1UBUNTU-CVE-2023-25173 USN-6202-1
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.31.3-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcockpit-podman0:75-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.8-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.221.0-1.module+el8.9.0+19685+019f3589RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.3.0-4.module+el8.9.0+19649+5879504aRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-54.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-4.module+el8.9.0+19090+d2921118RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.8.7-1.module+el8.9.0+19731+94cfa27eRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.12-1.module+el8.9.0+19090+d2921118RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-1.module+el8.9.0+19244+655f84eeRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamnetavark, aardvark-dns2:1.7.0-1.module+el8.9.0+19244+655f84eeRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamoci-seccomp-bpf-hook, oci-seccomp-bpf-hook-debuginfo, oci-seccomp-bpf-hook-debugsource0:1.2.9-1.module+el8.9.0+19090+d2921118RHSA-2023:6939
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morehelm3.13.1-150000.1.26.1SUSE-SU-2023:4124-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 2 morecontainerd1.6.19-150000.87.1SUSE-SU-2023:1827-1
SUSELinux Enterprise Module for Containers 12containerd1.6.19-16.76.1SUSE-SU-2023:1826-1
openSUSELeap 15.4, Leap Micro 5.3containerd1.6.19-150000.87.1SUSE-SU-2023:1827-1
openSUSETumbleweedcontainerd1.6.19-1.1openSUSE-SU-2024:12822-1
openSUSETumbleweedhelm3.13.0-2.1openSUSE-SU-2024:13295-1
openSUSETumbleweedhelm33.19.2-1.1openSUSE-SU-2025:15779-1
AlmaLinux8aardvark-dns2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2023:6939
AlmaLinux8buildah, buildah-tests1:1.31.3-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8cockpit-podman75-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8conmon3:2.1.8-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8container-selinux2:2.221.0-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containernetworking-plugins1:1.3.0-4.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containers-common2:1-54.module_el8.9.0+3673+0c64b403ALSA-2023:6939
AlmaLinux8crit, criu, criu-libs and 2 more3.18-4.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8crun1.8.7-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8fuse-overlayfs1.12-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8libslirp, libslirp-devel4.4.0-1.module_el8.8.0+3615+3543c705ALSA-2023:6939
AlmaLinux8netavark2:1.7.0-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
10 more for AlmaLinux in the JSON.
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2023:6939
Alpinev3.17, v3.18, v3.19 and 5 morecontainerd1.6.18-r0ALPINE-CVE-2023-25173
Azure Linux2moby-containerd1.6.18-2AZL-13673

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The following products include containerd related code, but do not use the specific Go packages impacted by this CVE, `containerd/cri/server` and `containerd/oci`. This CVE is therefore rated Low for these products:

* OpenShift Container Platform

* OpenShift Service Mesh

* OpenShift API for Data Protection

* Red Hat Advanced Cluster Security

* Red Hat Advanced Cluster Management for Kubernetes

ProductPackageStateAdvisory
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-rhel8:1.1.6-5Fixed 2023-09-20RHSA-2023:5314
Openshift Serverless 1 on RHEL 8openshift-serverless-clients-0:1.8.1-3.el8Fixed 2023-06-05RHSA-2023:3450
OSE-OSC-1.5-RHEL-9openshift-sandboxed-containers/osc-rhel9-operator:1.5.0-14Fixed 2023-11-27RHEA-2023:7493
Red Hat Enterprise Linux 8container-tools:rhel8-8090020230825121312.e7857ab1Fixed 2023-11-14RHSA-2023:6939
Red Hat Enterprise Linux 9buildah-1:1.31.3-1.el9Fixed 2023-11-07RHSA-2023:6473
Red Hat Enterprise Linux 9podman-2:4.6.1-5.el9Fixed 2023-11-07RHSA-2023:6474
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-controller-rhel8:v1.7.9-4Fixed 2023-05-04RHSA-2023:2107
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-velero-plugin-rhel8:v1.7.9-4Fixed 2023-05-04RHSA-2023:2107
Red Hat OpenShift Container Platform 4.11openshift4-wincw/windows-machine-config-rhel8-operator:6.0.1-38Fixed 2023-08-07RHSA-2023:4488
Red Hat OpenShift Container Platform 4.12openshift4-wincw/windows-machine-config-rhel8-operator:7.1.0-42Fixed 2023-07-18RHSA-2023:4025
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Will not fix
Cryostat 2cryostat-tech-preview/cryostat-rhel8-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Affected
OpenShift Developer Tools and ServiceshelmAffected
OpenShift Developer Tools and Servicesjenkins-operator-containerWill not fix
OpenShift Developer Tools and ServicesodoWill not fix
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorWill not fix
209 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-25173.

References

Check your stackJSON