CVE-2021-21388
JSON

8.9high

Command Injection Vulnerability in systeminformation

Severity
8.9high CVSS:3.1 by GitHub_M
Exploit likelihood
1.85% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jff2-qjw8-5476

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

Product or packageVersionsReported by
sebhildebrandt systeminformation< 5.6.4CVE List
systeminformation (npm)before 5.6.4GitHub Advisory Database
systeminformation systeminformationbefore 5.6.4NVD

All scores

GitHub_M8.9high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H
GitHub8.9high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

command injection vulnerability

Patches

Problem was fixed with a parameter check. Please upgrade to version >= 5.6.4

Workarounds

If you cannot upgrade, 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.

NVD (es)

systemminformation es un sistema de código abierto y una biblioteca de información de SO para node.js.&#xa0;Se ha detectado una vulnerabilidad de inyección de comandos en systeminformation versiones de anteriores a 5.6.4.&#xa0;El problema ha sido corregido con una comprobación de parámetros en la entrada del usuario.&#xa0;Por favor actualice a las versiones posteriores a 5.6.4 e incluyéndola.&#xa0;Si no puede actualizar, asegúrese de comprobar o sanear los parámetros de servicio que son pasados a si.inetLatency (), si.inetChecksite(), si.services(), si.processLoad() y otros comandos.&#xa0;Solo permita cadenas, rechace cualquier arreglo.&#xa0;El saneamiento de cuerdas funciona como se esperaba

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21388 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-jff2-qjw8-5476 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-21388 changed 2026-06-17Public domain