CVE-2023-25173 | containerd supplementary groups are not set up properly

Exp

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.

公開: 2023-02-16 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-25173 は公開エクスプロイトあり(51.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.54%、41 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-25173 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2023-25173 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.02% 0.54% +0.52%
2 2025-11-21 0.09% 0.02% -0.07%
3 2025-11-18 0.09%

EPSS の全履歴 (全 9 件)

CVE-2023-25173 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.3 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
1.8 3.4 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 5.9 [email protected]

CVE-2023-25173 の弱点分類(列挙)

CVE-2023-25173 の GitHub Security Advisory

GHSA-hmfx-3pcx-653p · 深刻度: medium · エコシステム: go — Supplementary groups are not set up properly in github.com/containerd/containerd

CVE-2023-25173 の OS トラッカー

vendor priority summary link
alpine high CVE-2023-25173: 1 source package rows (containerd); 38 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 31. https://security.alpinelinux.org/vuln/CVE-2023-25173
debian not yet assigned CVE-2023-25173 not yet assigned priority: Debian including 1 source packages (containerd), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-25173
gentoo high CVE-2023-25173: 1 GLSA(s) (202408-01), 1 atom(s) (app-containers/containerd); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-25173
redhat medium https://access.redhat.com/security/cve/CVE-2023-25173
suse medium CVE-2023-25173 severity moderate: SUSE including 270 source package names (3.17.3-8.1:helm-3.13.1-150000.1.26.1, amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, …), 622 product×package rows across 296 product lines (Container suse/helm, Image SLES12-SP5-Azure-Basic-On-Demand, … (296 product lines)): Fixed 475, Known Affected 147. https://www.suse.com/security/cve/CVE-2023-25173/
ubuntu medium CVE-2023-25173 medium priority: Ubuntu including 1 source packages (containerd), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 7, ignored 1. https://ubuntu.com/security/CVE-2023-25173

CVE-2023-25173 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
linuxfoundation containerd < 1.5.18 cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*
linuxfoundation containerd >= 1.6.0, < 1.6.18 cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*

CVE-2023-25173 の参考情報

URL タグ
https://github.com/advisories/GHSA-4wjj-jwc9-2x96 Not Applicable
https://github.com/advisories/GHSA-fjm8-m7m6-2fjp Not Applicable
https://github.com/advisories/GHSA-phjr-8j92-w5v7 Not Applicable
https://github.com/containerd/containerd/commit/133f6bb6cd827ce35a5fb279c1ead12b9d21460a Patch
https://github.com/containerd/containerd/releases/tag/v1.5.18 Release Notes
https://github.com/containerd/containerd/releases/tag/v1.6.18 Release Notes
https://github.com/containerd/containerd/security/advisories/GHSA-hmfx-3pcx-653p Mitigation Vendor Advisory
https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4 Not Applicable
https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/ Exploit Third Party Advisory
cvelogic Threat Intelligence