BuildKitに権限を昇格される脆弱性、悪意あるクライアントが状態ディレクトリ外に拡張属性を設定可能
Summary
BuildKitのv0.34.1より前には、ビルドを要求できる悪意あるクライアントが、状態ディレクトリの外にあるファイルへ拡張属性を設定できる脆弱性があります。trusted.やsecurity.の名前空間も設定でき、ホスト上のプログラムに高い権限を与えるおそれがあります。修正版はv0.34.1です。信頼できないユーザーからビルド要求を受け付けている環境では、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
BuildKitのv0.34.1より前には、ビルドを要求できる悪意あるクライアントが、状態ディレクトリの外にあるファイルへ拡張属性を設定できる脆弱性があります。trusted.やsecurity.の名前空間も設定でき、ホスト上のプログラムに高い権限を与えるおそれがあります。修正版はv0.34.1です。信頼できないユーザーからビルド要求を受け付けている環境では、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MobyBuildKit |
< 0.34.1→ 0.34.1 |
0.34.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-121520 docker.io-app, docker.io No fixed version in this record
Original description The description as published by the source.
In BuildKit versions prior to v0.34.1, a malicious client with access to the BuildKit control APIs can submit a build request that sets an extended attribute on a file outside the BuildKit state directory. Extended attributes in the trusted. or security. namespaces may also be set, potentially giving a program on the host elevated privileges. This issue affects build services that accept build requests from untrusted users. The issue is fixed in v0.34.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- REDHAT Red Hat