Advisory

DEBIAN-CVE-2023-25173

Also known as: CVE-2023-25173

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-02-16 15:15 UTC
Modified
2026-10-26 18:00 UTC

Affected packages and fixes

containerd

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.6.18~ds1-1 (ecosystem)

Fixed versions

1.6.18~ds1-1

Fix

  • Fixed version 1.6.18~ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.6.18~ds1-1 (ecosystem)

Fixed versions

1.6.18~ds1-1

Fix

  • Fixed version 1.6.18~ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.6.18~ds1-1 (ecosystem)

Fixed versions

1.6.18~ds1-1

Fix

  • Fixed version 1.6.18~ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences