{"schemaVersion":4,"id":"CVE-2021-21388","aliases":["DEBIAN-CVE-2021-21388","GHSA-jff2-qjw8-5476"],"status":"published","duplicateOf":null,"title":"Command Injection Vulnerability in systeminformation","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.","dates":{"published":"2021-04-29T17:20:20.000Z","modified":"2024-08-03T18:09:16.086Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.9,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.9,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01854,"percentile":0.79875,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01854},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01854,"percentile":0.79875}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01854,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01854,"percentile":0.79875}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command","description":"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 before it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"debian","product":"node-systeminformation","name":"node-systeminformation","label":"node-systeminformation","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-systeminformation","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"systeminformation","name":"systeminformation","label":"systeminformation","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/systeminformation","purlType":"npm","versions":[{"text":"< 5.6.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.6.4","endInclusive":false}}],"versionsText":"< 5.6.4","eol":null,"hubHref":null},{"vendor":"sebhildebrandt","product":"systeminformation","name":"systeminformation","label":"systeminformation","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.6.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.6.4","endInclusive":false}}],"versionsText":"< 5.6.4","eol":null,"hubHref":"/vendor/sebhildebrandt/systeminformation"},{"vendor":"systeminformation","product":"systeminformation","name":"systeminformation","label":"systeminformation","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.6.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.6.4","endInclusive":false}}],"versionsText":"< 5.6.4","eol":null,"hubHref":"/vendor/systeminformation/systeminformation"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.npmjs.com/package/systeminformation","label":"www.npmjs.com/package/systeminformation","hostname":"www.npmjs.com","tags":["X Refsource MISC","WEB","Product","Third Party Advisory"]},{"url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476","label":"github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524","label":"github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46","label":"github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f","label":"github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-21388","label":"security-tracker.debian.org/tracker/CVE-2021-21388","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21388","label":"nvd.nist.gov/vuln/detail/CVE-2021-21388","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-29T17:20:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:09:16.086Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,2,89],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01854,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-08-03T18:09:16.086Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_debian","date":"2024-08-03T18:09:16.086Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_npm","date":"2024-08-03T18:09:16.086Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T18:09:16.086Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T18:09:16.086Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"}],"epss":{"value":0.01854,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:44:12.788Z","stale":false,"partial":false}}