Dockerfile RUN --mount instruction の脆弱性
概要
Dockerfile RUN --mount instruction に 脆弱性 (CVE-2024-9407) が存在。機密情報が外部に流出する可能性があります。
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
Dockerfile RUN --mount instruction という製品で、CVE-2024-9407 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 4.7/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Dockerfile RUN --mount instruction CVE-2024-9407」を検索してください。
CVE-2024-9407 (Dockerfile RUN --mount instruction) — CWE-20 / CVSS v3 4.7
攻撃ベクター: ローカル / 被害者操作不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Dockerfile RUN --mount instruction に 脆弱性 (CWE-20) があります。
Dockerfile RUN --mount instruction の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 中 (CVSS 4.7/10)。機密情報が外部に流出する可能性があります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Dockerfile RUN --mount instruction を使っているサービスとバージョンを洗い出す。
-
2
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| GitHubpodman |
5.2.4 未満→ 5.2.4 |
5.2.4 |
| GitHubbuildah |
1.37.4 未満→ 1.37.4 |
1.37.4 |
| Red HatRed Hat Enterprise Linux 8 | — | 記載なし |
| Red HatRed Hat Enterprise Linux 9 | — | 記載なし |
| Red HatRed Hat Enterprise Linux 9.4 Extended Update Support | — | 記載なし |
| Red HatRed Hat OpenShift Container Platform 4.16 | — | 記載なし |
| Red HatRed Hat Enterprise Linux 10 | — | 記載なし |
| Red HatRed Hat OpenShift Container Platform 4 | — | 記載なし |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Alpine Linux ALPINE-CVE-2024-9407 podman, buildah 修正版あり
- Debian DEBIAN-CVE-2024-9407 golang-github-containers-buildah 修正版あり
- Ubuntu UBUNTU-CVE-2024-9407 golang-github-containers-buildah この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- advisory security.netapp.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- package github.com
- report bugzilla.redhat.com
- web access.redhat.com
- web catalog.redhat.com