CVE-2020-7768:
Prototype pollution in grpc and @grpc/grpc-js
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.82123%
CWE
Published
5/10/2021
Updated
1/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
grpc | npm | < 1.24.4 | 1.24.4 |
@grpc/grpc-js | npm | < 1.1.8 | 1.1.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability manifests in loadPackageDefinition functions in both packages, as shown by:
- The Snyk POC directly triggering pollution through loadPackageDefinition({'proto.polluted': true})
- Patch descriptions explicitly mentioning fixes to loadPackageDefinition
- Identical CWE-1321 (Prototype Pollution) attribution for both packages
- Shared mitigation pattern across both implementations (grpc@1.24.4 and @grpc/grpc-js@1.1.8 patches) These functions process user-controlled package definitions without proper prototype validation in vulnerable versions, making them the primary runtime indicators.