protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.6.5 and 8.6.6, protobufjs parsed option names by advancing through schema tokens until reaching an = token without checking for end of input, so a crafted .proto schema that opens an option declaration and ends prematurely can cause parse, Root.load, or Root.loadSync to loop indefinitely. This issue is fixed in versions 7.6.5 and 8.6.6.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Protobufjs_Project Protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
|
— |
7.6.5
|
|
Protobufjs_Project Protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
|
8.0.0
|
8.6.6
|