CVE-2021-21388
Systeminformation vulnerability
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
Systeminformation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Systeminformation runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef6752 · Patch
- github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a4 · Patch
- github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35 · Patch
- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476 · Third Party Advisory
- www.npmjs.com/package/systeminformation · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-21388
- cve.org/CVERecord?id=CVE-2021-21388
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.