CVE-2020-7768 Prototype Pollution
Prototype pollution in gRPC libraries allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7768?
CVE-2020-7768 is a high-severity vulnerability in @grpc/grpc-js, published on 11 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPackageDefinition.
Weakness: CWE-1321
Which versions are affected by CVE-2020-7768?
4 open source packages ship an affected version, including @grpc/grpc-js and grpc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@grpc/grpc-js npm | All versions | 1.1.8 |
@grpc/grpc-js npm | All versions | 1.1.8 |
grpc npm | All versions | 1.24.4 |
grpc npm | All versions | 1.24.4 |
Products include Grpc Grpc.
How do I fix CVE-2020-7768?
Upgrade @grpc/grpc-js to 1.1.8 or later.
Is CVE-2020-7768 being exploited?
There is no known exploitation of CVE-2020-7768 in the wild and no public exploit code.
Other vulnerabilities in @grpc/grpc-js
Sources
Also known as GHSA-pp75-xfpw-37g9.