Intel

AIKIDO-2025-10861

binary-parser is vulnerable to Code Injection

Code Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

90

Critical Risk

This Affects:

JSbinary-parser
1.3.3 - 2.2.1
Fixed in 2.3.0

TL;DR

Affected versions of this package suffered from a code-injection vulnerability: attacker-controlled values provided as field names or encoding names could lead to arbitrary code execution within the parser. The patch introduces sanitization logic: it validates field names and encoding names against a safe pattern and rejects invalid ones — preventing injection via malformed names or encoding values.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

binary-parser is vulnerable to Code Injection in versions 1.3.3 - 2.2.1.

How to fix this

Upgrade the binary-parser library to the patch version.