First published: Thu Apr 29 2021(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Systeminformation Systeminformation Node.js | <5.6.4 |
https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524
https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46
https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21388 is a command injection vulnerability in systeminformation, an open source system and OS information library for node.js.
CVE-2021-21388 has a severity rating of 9.8, which is classified as critical.
CVE-2021-21388 allows an attacker to inject and execute arbitrary commands on the affected system, which can lead to unauthorized access or data leakage.
To fix CVE-2021-21388, you need to upgrade systeminformation to version 5.6.4 or higher which includes a fix for the vulnerability.
You can find more information about CVE-2021-21388 on the official GitHub page of systeminformation.