VDB
Sign up
LOW3.7

GHSA-f596-whhp-79r4

@grpc/grpc-js: The server transmits some error messages thrown by method handlers to the client in status messages

Quick fix

GHSA-f596-whhp-79r4 — @grpc/grpc-js: upgrade to the fixed version with the command below.

npm install @grpc/grpc-js@1.13.6

Details

### Impact If an application method handler crashes, the error message is included in the status message sent to the client. This can leak to the client any sensitive data that may be included in the error message. This impacts anyone using `@grpc/grpc-js` to run servers.

### Patches This vulnerability is fixed in 1.13.6 and 1.14.5.

### Workarounds This can be avoided by using a top-level error handler in method handlers to strip out sensitive error information.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@grpc/grpc-js
Introduced in: 0Fixed in: 1.13.6
Fixnpm install @grpc/grpc-js@1.13.6
npm/@grpc/grpc-js
Introduced in: 1.14.0Fixed in: 1.14.5
Fixnpm install @grpc/grpc-js@1.14.5

References