CVE-2021-21388
HIGHsysteminformation < 5.6.4 - OS Command Injection via Service Parameter Mishandling
Title source: llmDescription
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.
References (5)
Core 5
Core References
Product, Third Party Advisory x_refsource_misc
https://www.npmjs.com/package/systeminformation
Third Party Advisory x_refsource_confirm
https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476
Patch, Third Party Advisory x_refsource_misc
https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524
Patch, Third Party Advisory x_refsource_misc
https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46
Patch, Third Party Advisory x_refsource_misc
https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f
Scores
CVSS v3
8.9
EPSS
0.0185
EPSS Percentile
76.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H
Details
CWE
CWE-20
CWE-78
Status
published
Products (2)
npm/systeminformation
0 - 5.6.4npm
systeminformation/systeminformation
< 5.6.4
Published
Apr 29, 2021
Tracked Since
Feb 18, 2026