protobufjs has an arbitrary code execution issue
protobufjs protobuf.js
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| protobufjs npm |
|
|
Original description
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1, 7.5.5, and 6.11.6 patch the issue.