The Go ProjectのGoにおける境界外書き込みに関する脆弱性
| Title |
The Go ProjectのGoにおける境界外書き込みに関する脆弱性
|
| Summary |
「go tool pack」サブコマンド(通常は既知の正常な入力を持つ内部ツールとしてコンパイラのみが使用します)は、出力ファイル名をサニタイズしません。悪意のあるアーカイブファイルを「pack」サブコマンドで展開すると、ファイルシステム上の任意の場所にファイルを書き込む可能性があります。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 7, 2026, midnight |
| Registration Date |
May 15, 2026, 11:01 a.m. |
| Last Update |
May 15, 2026, 11:01 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.9
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
Affected System
| The Go Project |
|
Go 1.25.10 未満
|
|
Go 1.26.0 以上 1.26.3 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月15日] 掲載 |
May 15, 2026, 11:01 a.m. |
NVD Vulnerability Information
CVE-2026-39817
| Summary |
The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.
|
| Publication Date |
May 8, 2026, 5:16 a.m. |
| Registration Date |
May 9, 2026, 4:10 a.m. |
| Last Update |
May 13, 2026, 11:59 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
|
|
|
1.25.10 |
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
1.26.0 |
|
|
1.26.3 |
Related information, measures and tools
Common Vulnerabilities List