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 package | Versions | Reported by |
|---|---|---|
| sebhildebrandt systeminformation | < 5.6.4 | CVE List |
| systeminformation (npm) | before 5.6.4 | GitHub Advisory Database |
| systeminformation systeminformation | before 5.6.4 | NVD |
All scores
| GitHub_M | 8.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
| GitHub | 8.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV: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. Se ha detectado una vulnerabilidad de inyección de comandos en systeminformation versiones de anteriores a 5.6.4. El problema ha sido corregido con una comprobación de parámetros en la entrada del usuario. Por favor actualice a las versiones posteriores a 5.6.4 e incluyéndola. 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. Solo permita cadenas, rechace cualquier arreglo. El saneamiento de cuerdas funciona como se esperaba
References
| https://www.npmjs.com/package/systeminformation | product, third-party-advisory, web | |
| https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476 | third-party-advisory, web | |
| https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524 | patch, third-party-advisory, web | |
| https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46 | patch, third-party-advisory, web | |
| https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21388 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21388 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jff2-qjw8-5476 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-21388 changed 2026-06-17 | Public domain |