CVE-2020-7778 Prototype Pollution
Attackers can exploit prototype pollution in the systeminformation library to execute arbitrary OS commands on the host system.
- 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-7778?
CVE-2020-7778 is a high-severity code injection vulnerability in systeminformation, published on 26 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects the package systeminformation before 4.30.2. The attacker can overwrite the properties and functions of an object, which can lead to executing OS commands.
Weakness: CWE-78
Which versions are affected by CVE-2020-7778?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | All versions | 4.30.2 |
systeminformation npm | All versions | 4.30.2 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2020-7778?
Upgrade systeminformation to 4.30.2 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-7778 being exploited?
There is no known exploitation of CVE-2020-7778 in the wild and no public exploit code.
Other vulnerabilities in systeminformation
- CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
- CVE-2021-21388 Command Injection Vulnerability in systeminformation
- CVE-2026-26318 systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
- CVE-2020-7752 Command Injection
- CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Sources
Also known as GHSA-8j36-q8x7-pm6q, SNYK-JS-SYSTEMINFORMATION-1043753.