isaacsのnode-tarにおける解釈の競合に関する脆弱性
タイトル isaacsのnode-tarにおける解釈の競合に関する脆弱性
概要

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で修正されました。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月22日0:00
登録日 2026年6月29日11:12
最終更新日 2026年6月29日11:12
CVSS3.0 : 警告
スコア 5.5
ベクター 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 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年06月29日]
  掲載
2026年6月29日11:12

NVD脆弱性情報
CVE-2026-53655
概要

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.

公表日 2026年6月23日1:16
登録日 2026年6月27日4:10
最終更新日 2026年6月27日5:03
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* 7.5.16
関連情報、対策とツール
共通脆弱性一覧