systeminformation is a System and OS information library for node.js. Prior to 5.31.7, networkInterfaces() on Linux is vulnerable to OS command injection through the Debian/Ubuntu interfaces(5) source directive because lib/network.js checkLinuxDCHPInterfaces() reads /etc/network/interfaces, extracts a source <path> token from file content, and interpolates it unquoted into cat ${file} 2> /dev/null | grep 'iface\|source' executed by execSync(cmd, util.execOptsLinux), allowing a path containing shell metacharacters to execute commands in any process that calls networkInterfaces(), including via getStaticData() and getAllData(). This issue is fixed in version 5.31.7.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XSysteminformation
APPSysteminformation< 5.31.7
Related vulnerabilities
Command Injection w bibliotece systeminformation dla Node.JS (SSID)
The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of f...
systeminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable ...
systeminformation is a System and OS information library for node.js. In versions prior to 5.30.8, a command i...
systeminformation is a System and OS information library for node.js. In versions prior to 5.27.14, the `fsSiz...