Vulnerability Details : CVE-2021-21388
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.
Vulnerability category: Input validation
Products affected by CVE-2021-21388
- cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21388
0.82%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 82 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21388
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
8.9
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H |
2.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2021-21388
-
The 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.Assigned by: security-advisories@github.com (Secondary)
-
The 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 when it is sent to a downstream component.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-21388
-
https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f
sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@7922366 · GitHubPatch;Third Party Advisory
-
https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524
sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@01ef56c · GitHubPatch;Third Party Advisory
-
https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46
sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@0be6fcd · GitHubPatch;Third Party Advisory
-
https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476
Command Injection Vulnerability in systeminformation · Advisory · sebhildebrandt/systeminformation · GitHubThird Party Advisory
-
https://www.npmjs.com/package/systeminformation
systeminformation - npmProduct;Third Party Advisory
Jump to