PT-2021-4725 · Npm · Systeminformation

Sebhildebrandt

·

Published

2021-03-15

·

Updated

2021-05-05

·

CVE-2021-21388

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions systeminformation versions prior to 5.6.4
Description A command injection issue has been discovered in the systeminformation library for Node.js. This issue is related to errors in passing data to parameters of services such as si.inetLatency, si.inetChecksite, si.services, and si.processLoad. Exploitation of this issue could allow a remote attacker to execute arbitrary code. The problem has been fixed with a parameter check on user input.
Recommendations For versions prior to 5.6.4, upgrade to version >= 5.6.4. If you cannot upgrade, check or sanitize service parameters that are passed to functions like si.inetLatency(), si.inetChecksite(), si.services(), and si.processLoad(), allowing only strings and rejecting any arrays.

Fix

RCE

Command Injection

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-05431
CVE-2021-21388
GHSA-JFF2-QJW8-5476

Affected Products

Systeminformation