CVE-2021-21388: Command Injection Vulnerability in systeminformation
Vulnerability summary
CVE-2021-21388 is a critical (CVSS 9.8) Improper Input Validation vulnerability in sebhildebrandt systeminformation. EPSS estimates a 1.85% chance of exploitation in the next 30 days, higher than 79.8% of scored vulnerabilities.
Not severe (CVSS 8.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA8.9HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:HDiffers
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated8.9HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:HDiffers
EPSS trend
Probability
1.85%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.85% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- node-systeminformationAll versions (No fix recorded)
Npm1 product
- systeminformation< 5.6.4
Sebhildebrandt1 product
- systeminformation< 5.6.4
Systeminformation1 product
- systeminformation< 5.6.4
4 vendors · 4 products
References
7 links- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476X Refsource CONFIRMWEBThird Party Advisory
- github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524X Refsource MISCWEBPatchThird Party Advisory
- github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46X Refsource MISCWEBPatchThird Party Advisory
- github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35fX Refsource MISCWEBPatchThird Party Advisory