Lucene search

K
nodejsAnonymousNODEJS:1628
HistoryFeb 24, 2021 - 3:24 a.m.

Command Injection

2021-02-2403:24:56
Anonymous
www.npmjs.com
64
systeminformation
command injection
vulnerability
upgrade
version 5.3.1
github advisory
cve

EPSS

0.971

Percentile

99.8%

Overview

The systeminformation package is an open source collection of functions to retrieve detailed hardware, system and OS information. In affected versions of systeminformation there is a command injection vulnerability.

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.

Recommendation

Upgrade to version 5.3.1 or later

References