CVE-2024-22169
published high CVSS 4.0 · 7.1Misconfiguration in node.js causing a code execution in WD Discovery
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- WDC PSIRT · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Western Digital | WD Discovery | 0 to < 5.0.589 (affected · custom)Default: unaffected | WDC PSIRT · cna |
| westerndigital | wd_discovery | 0 to < 5.0.589 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2WDC PSIRT · cna
Misconfiguration in node.js causing a code execution in WD Discovery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e9b1654f6be1d606bb3e9389c5d0141e7128e7fd168a31510491762ee424205c
- Ingested
- 23 Sep 2026, 08:19:14 UTC
- Source record
- Official CVE record