CVE-2021-21315

published 16 Feb 2021 · updated 21 Oct 2025

Command Injection Vulnerability

10.0CriticalCVSS 7.1EPSS 91%CISA KEV · due 1 Feb 20222 public exploits

Exploited in the wild, in CISA KEV since 18 Jan 2022 (due 1 Feb 2022), with 2 public exploits. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Npm packageSystem Information Library for Node.JS
sebhildebrandt<5.3.1

Exploit evidence

2 public sources

kev

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-21315 severity on Zeptric[![CVE-2021-21315](https://zeptric.io/badge/cve/CVE-2021-21315.svg)](https://zeptric.io/cve/CVE-2021-21315)