{"schemaVersion":3,"id":"CVE-2021-21388","aliases":["DEBIAN-CVE-2021-21388","GHSA-jff2-qjw8-5476"],"status":"published","duplicateOf":null,"title":null,"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.7884,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00: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":0.7884}],"last30":[{"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":0.7884}]},"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 ('OS Command Injection')","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 when 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}],"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}],"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}],"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}],"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}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:17:19.953Z","stale":false,"partial":false}}