Uncontrolled Recursion leading to Denial of Service in protobuf-javascript (google-protobuf)
Google protobuf-javascript (aka google-protobuf npm package)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Google protobuf-javascript (aka google-protobuf npm package) |
| No fix yet |
Original description
google-protobuf contains an unbounded recursion when parsing unknown protobuf group fields. An attacker can send a small crafted payload of deeply nested START_GROUP wire bytes to any Node.js service that calls the generated deserializeBinary() API, causing a RangeError: Maximum call stack size exceeded and crashing the process. No authentication or prior knowledge of the schema is required.
From the CVE record · Google