概要
パーサー定義を操作できる相手に、認証なしで不正な JavaScript を実行されるおそれ。
元の説明(英語)を読む
binary-parser before 2.3.1 contains a code injection vulnerability that allows attackers controlling parser definitions to inject JavaScript through string-typed options passed unvalidated by Context.generateOption(). Attackers can supply crafted length, lengthInBytes, key, tag, offset, or namely() alias values to execute arbitrary JavaScript in the Node.js process when the parser is compiled.
影響を受ける人
binary-parser を使う Node.js アプリの開発者
対策
- binary-parser を 2.3.1 以降に更新する
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
- The Hacker News(報道)↗11/23
PoC
リンクだけを載せる。中身は確かめていない。
偽物やマルウェア入りが混じる(GitHub の PoC の 1.9〜10.3% に悪意の兆候があったという研究がある)。動かすのは、自分の検証用の環境で、中身を読んでからにする。他人のシステムに向けない。
googlesky/CVE-2026-134814↗★ 0 · 11/23 作成 · 攻撃コードらしいbinary-parser <2.3.1: string options interpolated verbatim into generated parser JS — 'x+(globalThis.INJECTED=1,0)' as a length option executes attacker code. Real npm 2.3.0 vs 2.3.1 (110206b): globalcveForge/CVE-2026-134814↗★ 0 · 11/24 作成 · 攻撃コードらしいPoC for CVE-2026-134814 — binary-parser npm Code Injection RCE (CVSS 8.1)abraxas/cve-2026-134814-binary-parser-option-injection↗★ 0 · 11/23 作成 · その他CVE-2026-134814 - binary-parser - Critical 9.2 - Code injection. String options are interpolated into generated parser source, so a hostile parser definition executes JavaScript. Differential lab: 2.3
経過
2026年11月22日・一次情報
脆弱性が公開された
2026年11月23日・PoC
GitHub に PoC が出た(未検証)(Bluesky で元の投稿に返信)
影響する版
keichi binary-parser2.3.1 未満が対象(2.3.1 で修正)