Skip to content
OpenAdvisories
High · 8.9 CVE-2021-21388 EUVD-2021-0839GHSA-jff2-qjw8-5476

Command Injection Vulnerability in systeminformation

Published Apr 29, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.

Affected products

VendorProductAffectedFixed
sebhildebrandt systeminformation < 5.6.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm systeminformation < 5.6.4 5.6.4 GHSA-jff2-qjw8-5476

References