grpc@1.21.1 vulnerabilities

gRPC Library for Node

Direct Vulnerabilities

Known vulnerabilities in the grpc package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

grpc is a gRPC Library for Node

Affected versions of this package are vulnerable to Prototype Pollution via loadPackageDefinition.

POC:

const { loadPackageDefinition } = require('grpc');
loadPackageDefinition({'__proto__.polluted': true});
console.log(polluted);

How to fix Prototype Pollution?

Upgrade grpc to version 1.24.4 or higher.

<1.24.4