CVE-2021-21315 Command Injection Vulnerability
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: no · technical impact: partial
- Technology
- Debian
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.
CISA Known Exploited Vulnerability
- Date added
- 2022-01-18
- Due date (FCEB)
- 2022-02-01
- Ransomware use
- Unknown
Required action
Apply updates per vendor instructions.
Upgrade path
5 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-systeminformation(Debian 14) | = 5.31.6-1; = 5.31.6-2; = 5.31.6-3; = 5.31.6-4 +2 more | No fix listed | No fix yet |
| npm systeminformation(npm) | < 5.3.1 | 5.3.1 | Fixed |
| systeminformation | < 5.3.1 | 5.3.1 | Fixed |
| apache cordova | = 10.0.0 | No fix listed | Versions listed |
| sebhildebrandt systeminformation | = < 5.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-systeminformation(Debian:14) | All versions | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-1 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-2 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-3 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-4 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.7-1 | No fix listed |
| npm systeminformation(npm) | < 5.3.1 | 5.3.1 |
| systeminformation | < 5.3.1 | 5.3.1 |
| apache cordova | = 10.0.0 | No fix listed |
| sebhildebrandt systeminformation | = < 5.3.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-21315 vendor-advisory
- github.com third-party-advisory vendor-advisory
- github.com patch
- www.npmjs.com product
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org
- [cordova-issues] 20210224 [GitHub] [cordova-cli] iva2k opened a new issue #549: update systeminformation package to >=5.3.1 issue-tracking mailing-list
- security.netapp.com third-party-advisory
- www.cisa.gov government-resource us-government-resource
- github.com
- github.com product
- ENISA EUVD EUVD-2021-0527 third-party-advisory