binary-parserにコード注入の脆弱性、修正版2.3.1あり
Summary
Node.js向けのbinary-parserに、パーサーの定義を外部から受け取る構成だと任意のJavaScriptを実行されるおそれがあります。該当する開発チームは2.3.1へ更新し、定義の出どころも見直してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Node.js向けのbinary-parserに、パーサーの定義を外部から受け取る構成だと任意のJavaScriptを実行されるおそれがあります。該当する開発チームは2.3.1へ更新し、定義の出どころも見直してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| keichibinary-parser |
< 2.3.1→ 2.3.1 |
2.3.1 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com