PT-2026-56497 · Npm · Protobufjs
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
protobufjs versions prior to 7.6.5
protobufjs versions prior to 8.6.6
Description
protobufjs compiles protobuf definitions into JavaScript functions. The software parses option names by advancing through schema tokens until an = token is reached without verifying the end of the input. Consequently, a specially crafted .proto schema that opens an option declaration and ends prematurely can cause the
parse(), Root.load(), or Root.loadSync() functions to loop indefinitely.Recommendations
Update protobufjs to version 7.6.5 or later.
Update protobufjs to version 8.6.6 or later.
Exploit
Fix
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Protobufjs