Skip to content
OpenAdvisories
High · 7.1 CVE-2024-22169 EUVD-2024-19765GHSA-cqcg-4g39-cjvj

Misconfiguration in node.js causing a code execution in WD Discovery

Published Aug 2, 2024 · Updated Aug 5, 2024 · Assigned by WDC PSIRT

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

VendorProductAffectedFixed
Western Digital WD Discovery < 5.0.589 5.0.589

References