What’s Vulnerable › Vulnerabilities

CVE-2021-21388: Command Injection Vulnerability in systeminformation

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 products

How to fix

Upgrade to a fixed version: sebhildebrandt systeminformation 5.6.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21388 or the next vulnerability affects your stack