CVE-2021-21315
Attackers are using this.
CISA added it to its list of vulnerabilities being exploited on January 18, 2022.
CISA's advice: Apply updates per vendor instructions.
What it is
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.
What it affects, and the version that fixes it
- Apache Software Foundation Cordova No fixed version listed yet.
- systeminformation Make sure you are on 5.3.1 or later.