systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sebhildebrandt | systeminformation | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sebhildebrandt | Systeminformation |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5xpp-75jx-m839 | systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.2% (2.184% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sebhildebrandt
Sebhildebrandt systeminformation |
|
| Vendors & Products |
Sebhildebrandt
Sebhildebrandt systeminformation |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV4_0
|