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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*

History

05 May 2021, 20:31

Type Values Removed Values Added
CWE CWE-78
References (MISC) https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f - (MISC) https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f - Patch, Third Party Advisory
References (MISC) https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524 - (MISC) https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476 - (CONFIRM) https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476 - Third Party Advisory
References (MISC) https://www.npmjs.com/package/systeminformation - (MISC) https://www.npmjs.com/package/systeminformation - Product, Third Party Advisory
References (MISC) https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46 - (MISC) https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46 - Patch, Third Party Advisory
CPE cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

29 Apr 2021, 18:48

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-29 18:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-21388

Mitre link : CVE-2021-21388

CVE.ORG link : CVE-2021-21388


JSON object : View

Products Affected

systeminformation

  • systeminformation
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-20

Improper Input Validation