{"cve":"CVE-2021-21315","nvd":{"published":"2021-02-16T17:15:13.050","modified":"2026-06-17T03:35:16.700","status":"Analyzed","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 to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-78"],"references":["https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525","https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v","https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E","https://security.netapp.com/advisory/ntap-20210312-0007/","https://www.npmjs.com/package/systeminformation"],"products":["apache:cordova","systeminformation:systeminformation"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-21315","score":0.90675,"percentile":0.99803,"date":"2026-11-01"},"kev":{"cve":"CVE-2021-21315","date_added":"2022-01-18","due_date":"2022-02-01","vendor":"Npm package","product":"System Information Library for Node.JS","known_ransomware":false},"osv":[{"id":"GHSA-2m8v-572m-ff2v","url":"https://osv.dev/vulnerability/GHSA-2m8v-572m-ff2v","summary":"Command Injection Vulnerability","modified":"2026-07-08T06:29:36.391211226Z","packages":[{"ecosystem":"npm","name":"systeminformation","purl":"pkg:npm/systeminformation","ranges":["<5.3.1"],"fixed":["5.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}