@grpc/grps-js: An incoming malformed compressed message can cause a client or server crash
grpc-node
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @grpc/grpc-js npm |
|
|
grpc-node
| Product | Affected | Fixed in |
|---|---|---|
| @grpc/grpc-js npm |
|
|
1.11.41.12.71.13.51.14.4@grpc/grps-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to 1.9.16, 1.10.12, 1.11.4, 1.12.7, 1.13.5, and 1.14.4, an invalid incoming compressed message can cause a client or server process that uses @grpc/grpc-js to crash. This issue is fixed in versions 1.9.16, 1.10.12, 1.11.4, 1.12.7, 1.13.5, and 1.14.4.
From the CVE record · GitHub_M
The @grpc/grpc-js package can crash a client or server process when it receives an invalid compressed message. An attacker who can send such a message may cause a crash; the input does not specify whether authentication or user interaction is required.
Teams running npm @grpc/grpc-js should check for versions <1.9.16, >=1.10.0 <1.10.12, >=1.11.0 <1.11.4, >=1.12.0 <1.12.7, >=1.13.0 <1.13.5, or >=1.14.0 <1.14.4.