| Title | isaacsのnode-tarにおける解釈の競合に関する脆弱性 |
|---|---|
| Summary | node-tarはNode.js向けの機能豊富なTarライブラリです。7.5.16以前のバージョンでは、tar(node-tar)はPAX拡張ヘッダーのsize=レコード(およびその他のPAX上書き)を、GNUの長い名前(L)や長いリンク(K)といった中間のメタデータヘッダーを含むあらゆるタイプの次のヘッダーエントリに適用していました。POSIX paxに従うと、PAX拡張ヘッダー(x)は次のファイルエントリを記述し、中間に存在するxヘッダーとその注釈対象のファイルの間の拡張ヘッダーには適用されません。node-tarはPAXサイズによって中間のL/K/xヘッダーのバイト長を上書きしてしまうため、攻撃者はnode-tarのストリームカーソルを他の主流のtar実装(GNU tar、libarchive/bsdtar、Python tarfile、改修済みのtar-rs / astral-tokio-tar)と異なる位置にずらすことが可能になります。その結果、tarパーサーの解釈の違い(CWE-436)が生じ、単一の細工されたアーカイブがnode-tarでは異なるメンバーセットを返し、参照用tarツールでは別のメンバーセットを返す場合があります。これにより、攻撃者はあるパーサーには表示されず別のパーサーには見えるメンバーを隠し、スキャナーと抽出ツールでアーカイブ内容の解釈が異なるセキュリティツール(例:あるライブラリでエントリを一覧し、別のライブラリで下流処理として抽出するマルウェアや秘密情報スキャナー)を回避できます。この脆弱性は7.5.16で修正されました。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution | ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | June 22, 2026, midnight |
| Registration Date | June 29, 2026, 11:12 a.m. |
| Last Update | June 29, 2026, 11:12 a.m. |
| CVSS3.0 : 警告 | |
| Score | 5.5 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| isaacs |
| node-tar 7.5.16 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月29日] 掲載 |
June 29, 2026, 11:12 a.m. |
| Summary | node-tar is a full-featured Tar for Node.js. Prior to 7.5.16, tar (node-tar) applies a PAX extended header's size= record (and other PAX overrides) to the next header entry of any type, including intermediary metadata headers such as a GNU long-name (L) or long-link (K) entry. Per POSIX pax, a PAX extended header (x) describes the next file entry, not the intermediary extension headers that may sit between the x header and the file it annotates. Because node-tar lets the PAX size override the byte length of an intervening L/K/x header, an attacker can desynchronize node-tar's stream cursor relative to every other mainstream tar implementation (GNU tar, libarchive/bsdtar, Python tarfile, and the now-fixed tar-rs / astral-tokio-tar). The result is a tar parser interpretation differential (CWE-436): a single crafted archive yields a different set of members under node-tar than under the reference tar tools. An attacker can use this to hide a member from one parser while it is visible to another, which defeats security tooling whose scanner and extractor disagree on archive contents (e.g. a malware/secret scanner that lists entries with one library while a downstream step extracts with another) This vulnerability is fixed in 7.5.16. |
|---|---|
| Publication Date | June 23, 2026, 1:16 a.m. |
| Registration Date | June 27, 2026, 4:10 a.m. |
| Last Update | June 27, 2026, 5:03 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* | 7.5.16 | ||||