CVE-2021-21388 json
Command Injection Vulnerability in systeminformation
published 2021-04-06 5 y ago modified 2026-07-08 4 mo ago also GHSA-jff2-qjw8-5476 , EUVD-2021-0839
- cvss
- 8.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm systeminformation 5.6.4
- systeminformation systeminformation 5.6.4
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | systeminformation | <5.6.4 |
5.6.4 |
Affected products
- sebhildebrandt systeminformation
Classification
References
-
github.com
/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524
web, patch, third-party-advisory
-
github.com
/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46
web, patch, third-party-advisory
-
github.com
/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f
web, patch, third-party-advisory
-
npmjs.com
/package/systeminformation
web, product, third-party-advisory
-
github.com
/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21388
advisory
Sources
- CVE List CVE-2021-21388
- GitHub Advisory GHSA-jff2-qjw8-5476
- NVD CVE-2021-21388
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.