新着 / 2026年11月28日 / CVE-2026-134814
binary-parser にコードインジェクションの脆弱性
掲載
何が問題か
binary-parser の2.3.1より前のバージョンには、パーサー定義を操作できる攻撃者が、Context.generateOption()に検証なしで渡される文字列型オプションを通じてJavaScriptを注入できる脆弱性(CWE-94)があります。length、lengthInBytes、key、tag、offset、namely()のエイリアス値が対象となり、パーサーがコンパイルされた時点でNode.jsプロセス内で任意のJavaScriptが実行される可能性があります。CVSS v4.0のスコアは9.2(Critical)です。
悪用されると
悪用されると、Node.jsプロセス内で任意のJavaScriptが実行される可能性があります。実際の被害の有無や悪用の状況は公表されていません。
取るべき対応
binary-parserを2.3.1以上にアップデートしてください。パーサー定義を外部からの入力で組み立てている場合は、その経路の見直しも検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 緊急 9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 2.1%(全体の上位 17.4%) |
| 問題の種類 | CWE-94 |
| CVE公開日 | 2026-11-22 |
出典
- NVD: CVE-2026-134814
- https://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35
- https://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4
- https://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e
- https://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377
- https://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options
公式の説明(英語の原文)
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.