{"id":"CVE-2024-22169","aliases":["EUVD-2024-19765","GHSA-cqcg-4g39-cjvj"],"status":"published","title":"Misconfiguration in node.js causing a code execution in WD Discovery","description":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment\nsettings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable.\nAny malicious application operating with standard user permissions can exploit\nthis vulnerability, enabling code execution within WD Discovery application's\ncontext. WD Discovery version 5.0.589 addresses this issue by disabling certain\nfeatures and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.","severity":{"version":"4.0","score":7.1,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00259,"percentile":0.17717,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2024-08-02T18:31:11Z","modified":"2026-06-17T07:10:52Z","products":[{"vendor":"western digital","product":"wd discovery"},{"vendor":"westerndigital","product":"wd_discovery"}],"references":[{"url":"https://www.westerndigital.com/support/product-security/wdc-24004-wd-discovery-desktop-app-version-5-0-589"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22169"},{"url":"https://github.com/advisories/GHSA-cqcg-4g39-cjvj"}],"sources":{"cve":[{"id":"CVE-2024-22169","title":"Misconfiguration in node.js causing a code execution in WD Discovery","description":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment\nsettings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable.\nAny malicious application operating with standard user permissions can exploit\nthis vulnerability, enabling code execution within WD Discovery application's\ncontext. WD Discovery version 5.0.589 addresses this issue by disabling certain\nfeatures and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.","status":"published","published":"2024-08-02T18:31:11.324Z","modified":"2024-08-05T18:55:48.27Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:33:59.884489Z"}],"euvd":[{"id":"EUVD-2024-19765","description":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment\nsettings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable.\nAny malicious application operating with standard user permissions can exploit\nthis vulnerability, enabling code execution within WD Discovery application's\ncontext. WD Discovery version 5.0.589 addresses this issue by disabling certain\nfeatures and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.","status":"published","published":"2024-08-02T18:31:11Z","modified":"2024-08-05T18:55:48Z","cvss":[{"version":"4.0","score":7.1,"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","level":"high"}],"updated_at":"2026-11-03T02:23:19.724201Z"}],"ghsa":[{"id":"GHSA-cqcg-4g39-cjvj","title":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment...","description":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment\nsettings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable.\nAny malicious application operating with standard user permissions can exploit\nthis vulnerability, enabling code execution within WD Discovery application's\ncontext. WD Discovery version 5.0.589 addresses this issue by disabling certain\nfeatures and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.","status":"published","published":"2024-08-02T21:31:34Z","modified":"2024-08-02T21:31:40Z","cvss":[{"version":"4.0","score":7.1,"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/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:X","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:57:50.552665Z"}],"nvd":[{"id":"CVE-2024-22169","description":"WD Discovery\nversions prior to 5.0.589 contain a misconfiguration in the Node.js environment\nsettings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable.\nAny malicious application operating with standard user permissions can exploit\nthis vulnerability, enabling code execution within WD Discovery application's\ncontext. WD Discovery version 5.0.589 addresses this issue by disabling certain\nfeatures and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.","status":"published","published":"2024-08-02T19:16:29.553Z","modified":"2026-06-17T07:10:52.247Z","cvss":[{"version":"4.0","score":7.1,"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/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:X","level":"high","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:15.933769Z"}]}}
