GitHub Advisory Database
GHSA-5375-pq7m-f5r2
@grpc/grpc-js: A malformed request can cause a server crash
Details
Impact
An invalid incoming HTTP/2 stream initiation can cause a server process to crash. This affects all servers created using @grpc/grpc-js.
Patches
The following version have fixes for this vulnerability:
- 1.9.16
- 1.10.12
- 1.11.4
- 1.12.7
- 1.13.5
- 1.14.4
Workarounds
There is no workaround.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @grpc/grpc-js | All versions before 1.9.16 (fixed in 1.9.16) |
| npm | @grpc/grpc-js | From 1.10.0 before 1.10.12 (fixed in 1.10.12) |
| npm | @grpc/grpc-js | From 1.11.0 before 1.11.4 (fixed in 1.11.4) |
| npm | @grpc/grpc-js | From 1.12.0 before 1.12.7 (fixed in 1.12.7) |
| npm | @grpc/grpc-js | From 1.13.0 before 1.13.5 (fixed in 1.13.5) |
| npm | @grpc/grpc-js | From 1.14.0 before 1.14.4 (fixed in 1.14.4) |
References
- https://github.com/grpc/grpc-node/security/advisories/GHSA-5375-pq7m-f5r2
- https://github.com/grpc/grpc-node
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.10.12
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.11.4
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.12.7
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.13.5
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.14.4
- https://github.com/grpc/grpc-node/releases/tag/%40grpc%2Fgrpc-js%401.9.16