{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21315","id":"CVE-2021-21315","title":"Command Injection Vulnerability","description":"The System Information Library for Node.JS (npm package \"systeminformation\") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed","descriptionLong":"The System Information Library for Node.JS (npm package \"systeminformation\") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.","published":"2021-02-16T17:00:18.000Z","updated":"2026-10-24T10:50:40.854543375Z","reserved":"2020-12-22T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"high","source":"GitHub"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["sebhildebrandt systeminformation"],"affectedProducts":[{"vendor":"sebhildebrandt","product":"systeminformation","defaultStatus":null,"versions":[{"status":"affected","version":"< 5.3.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"systeminformation","purl":"pkg:npm/systeminformation","ranges":["<5.3.1"],"fixed":["5.3.1"],"advisory":"GHSA-2m8v-572m-ff2v"}],"cwes":["CWE-78"],"aliases":["GHSA-2m8v-572m-ff2v"],"references":[{"url":"https://www.npmjs.com/package/systeminformation","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","Issue Tracking","Mailing List","report","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0007/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21315","tags":["advisory"]},{"url":"https://github.com/sebhildebrandt/systeminformation","tags":["package"]},{"url":"https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05@%3Cissues.cordova.apache.org%3E","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0007","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":true,"kevAdded":"2022-01-18","kevDue":"2022-02-01","kevEntry":{"cveID":"CVE-2021-21315","vendorProject":"Npm package","product":"System Information Library for Node.JS","vulnerabilityName":"System Information Library for Node.JS Command Injection","dateAdded":"2022-01-18","shortDescription":"In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-02-01","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2021-21315","cwes":["CWE-78"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"partial"},"epss":0.90675,"epssPercentile":0.99808,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21315","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21315","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21315","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2m8v-572m-ff2v","ok":true,"note":"GHSA-2m8v-572m-ff2v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2022-01-18"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21315","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 91% with CVSS 7.1"],"attention":null}