CVE-2021-21315
High 7.1KEV · exploitedFix status unknownCommand Injection Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1754 days ago for U.S. federal agencies
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.
Weakness: CWE-78
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Npm package | System Information Library for Node.JS | Not documented | Not documented | CISA KEV |
| sebhildebrandt | systeminformation | < 5.3.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
18 Jan 2022KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
18 Jan 2022Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525 (opens in a new tab)x_refsource_misc, x_transferred
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v (opens in a new tab)x_refsource_confirm, x_transferred
- [cordova-issues] 20210224 [GitHub] [cordova-cli] iva2k opened a new issue #549: update systeminformation package to >=5.3.1 (opens in a new tab)mailing-list, x_refsource_mlist, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2021-21315 (opens in a new tab)government
- https://security.netapp.com/advisory/ntap-20210312-0007/ (opens in a new tab)x_refsource_confirm, x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315 (opens in a new tab)government-resource
- https://www.npmjs.com/package/systeminformation (opens in a new tab)x_refsource_misc, x_transferred