{"api_version":"1","generated_at":"2026-04-30T01:36:20+00:00","cve":"CVE-2021-21388","urls":{"html":"https://cve.report/CVE-2021-21388","api":"https://cve.report/api/cve/CVE-2021-21388.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21388","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21388"},"summary":{"title":"CVE-2021-21388","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-04-29 18:15:00","updated_at":"2021-05-05 20:31:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46","name":"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46","refsource":"MISC","tags":[],"title":"sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@0be6fcd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524","name":"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524","refsource":"MISC","tags":[],"title":"sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@01ef56c · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476","name":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476","refsource":"CONFIRM","tags":[],"title":"Command Injection Vulnerability in systeminformation · Advisory · sebhildebrandt/systeminformation · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f","name":"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f","refsource":"MISC","tags":[],"title":"sanitizeShellString() and other security improvements · sebhildebrandt/systeminformation@7922366 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.npmjs.com/package/systeminformation","name":"https://www.npmjs.com/package/systeminformation","refsource":"MISC","tags":[],"title":"systeminformation  -  npm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21388","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21388","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"21388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"systeminformation","cpe5":"systeminformation","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-21388","qid":"982699","title":"Nodejs (npm) Security Update for systeminformation (GHSA-jff2-qjw8-5476)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21388","STATE":"PUBLIC","TITLE":"Command Injection Vulnerability in systeminformation"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"systeminformation","version":{"version_data":[{"version_value":"< 5.6.4"}]}}]},"vendor_name":"sebhildebrandt"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.9,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation "}]},{"description":[{"lang":"eng","value":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://www.npmjs.com/package/systeminformation","refsource":"MISC","url":"https://www.npmjs.com/package/systeminformation"},{"name":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476","refsource":"CONFIRM","url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476"},{"name":"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524","refsource":"MISC","url":"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524"},{"name":"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46","refsource":"MISC","url":"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46"},{"name":"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f","refsource":"MISC","url":"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f"}]},"source":{"advisory":"GHSA-jff2-qjw8-5476","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-04-29 18:15:00","lastModifiedDate":"2021-05-05 20:31:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.6.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"21388","Ordinal":"195514","Title":"CVE-2021-21388","CVE":"CVE-2021-21388","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"21388","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"21388","Ordinal":"2","NoteData":"2021-04-29","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"21388","Ordinal":"3","NoteData":"2021-04-29","Type":"Other","Title":"Modified"}]}}}