CVE-2021-21315

Command Injection Vulnerability

Published Feb 16, 2021 CVSS 3.1 · 7.1 High EPSS 90.7% KEV · Listed
Description
The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2m8v-572m-ff2v Command Injection Vulnerability
History
Type Values Removed Values Added
Metrics kev

{'dateAdded': '2022-01-18'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'active', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 21, 2025, 11:35 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Analyzed
Published
Feb 16, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:35 AM