Vulnerability · Published Aug 2, 2024 · Assigned by WDC PSIRT
CVE-2024-22169Misconfiguration in node.js causing a code execution in WD Discovery
High 7.1
In plain English
A high-severity code injection in WD Discovery from Western Digital. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official description
WD Discovery versions prior to 5.0.589 contain a misconfiguration in the Node.js environment settings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable. Any malicious application operating with standard user permissions can exploit this vulnerability, enabling code execution within WD Discovery application's context. WD Discovery version 5.0.589 addresses this issue by disabling certain features and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Western Digital | WD Discovery | 0 – before 5.0.589 |
Weakness: CWE-94 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H