CVE-2020-7778: OS Command Injection in systeminformation

systeminformation Updated 02 Oct 2025

Summary

09/02/2022
Yes i
High
7.3

CVE-2020-7778: OS Command Injection in systeminformation. Affects systeminformation versions < 4.30.2. Fixed in 4.30.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The systeminformation package is an npm package that provides a simple way to gather system information such as CPU, memory, disk, and network usage. It is widely used in various applications to retrieve and display system information. However, versions before 4.30.2 are vulnerable to OS command injection.

Vulnerability Detail

The vulnerability in systeminformation allows an attacker to overwrite the properties and functions of an object, which can lead to the execution of arbitrary OS commands. This can result in unauthorized access, data leakage, or even complete compromise of the affected system. The vulnerability has a CVSS score of 7.3, indicating a high severity level.

How To Fix

Latest published version: 5.33.16 as of 22 Oct 2026

npm install systeminformation@5.33.16

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.30.2

This is the first release that contains the fix.

npm install systeminformation@4.30.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The systeminformation package before version 4.30.2 is vulnerable to OS command injection, which can lead to the execution of arbitrary OS commands. It is crucial to update the package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for systeminformation →

Share this vulnerability

FAQ

The systeminformation package is an npm package that provides an easy way to gather system information in Node.js applications.

OS command injection is a type of vulnerability that allows an attacker to execute arbitrary operating system commands on a target system.

The consequences of this vulnerability can vary depending on the attacker's intent, but they can include unauthorized access, data leakage, or complete compromise of the affected system.

Yes, the vulnerability can be fixed by updating the systeminformation package to version 4.30.2 or later.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes your package-lock.json file and alerts you in real-time for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for systeminformation.

How To Fix

Latest published version: 5.33.16 as of 22 Oct 2026

npm install systeminformation@5.33.16

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.30.2

This is the first release that contains the fix.

npm install systeminformation@4.30.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback