{"id":"CVE-2017-5941","published":"2017-02-09T19:00:00Z","modified":"2024-08-05T15:18:48Z","title":"An issue was discovered in the node-serialize package 0.0.4 for Node.js","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in the unserialize() function of the node-serialize package 0.0.4 for Node.js, where untrusted input is not properly sanitised before being processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:21:25Z"},"cvss":null,"epss":{"score":0.61285,"percentile":0.99178,"date":"2026-11-17","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://nodesecurity.io/advisories/311","tags":["x_refsource_MISC"]},{"url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/96225","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"node-serialize","vulnerableRanges":["<=0.0.4"],"patched":[],"from":["GHSA-q4v7-4rhw-9hqm"],"provenance":"source"}],"advisories":[{"id":"GHSA-q4v7-4rhw-9hqm","url":"https://github.com/advisories/GHSA-q4v7-4rhw-9hqm","severity":"CRITICAL","ecosystem":"npm","package":"node-serialize","vulnerableRanges":["<=0.0.4"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2018-0309","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-0309","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":45265,"url":"https://www.exploit-db.com/exploits/45265","title":"Node.JS - 'node-serialize' Remote Code Execution","type":"remote","platform":"linux","date":"2017-02-08","verified":false,"provenance":"source"},{"id":49552,"url":"https://www.exploit-db.com/exploits/49552","title":"Node.JS - 'node-serialize' Remote Code Execution (2)","type":"webapps","platform":"nodejs","date":"2021-02-10","verified":false,"provenance":"source"},{"id":50036,"url":"https://www.exploit-db.com/exploits/50036","title":"Node.JS - 'node-serialize' Remote Code Execution (3)","type":"webapps","platform":"nodejs","date":"2021-06-18","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2017-02-08"},"pocGithub":{"count":4,"skipped":4,"earliest":"2023-05-10","earliestUrl":"https://github.com/Cr4zyD14m0nd137/Lab-for-cve-2018-15133","repos":[{"name":"uartu0/nodejshell","url":"https://github.com/uartu0/nodejshell","stars":2,"created":"2023-08-18"},{"name":"Cr4zyD14m0nd137/Lab-for-cve-2018-15133","url":"https://github.com/Cr4zyD14m0nd137/Lab-for-cve-2018-15133","stars":0,"created":"2023-05-10"},{"name":"f41k0n/RCE-NodeJs","url":"https://github.com/f41k0n/RCE-NodeJs","stars":0,"created":"2025-10-12"},{"name":"jimahub/scenario-c-block","url":"https://github.com/jimahub/scenario-c-block","stars":0,"created":"2026-09-28"}]},"first":{"date":"2017-02-08","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/45265"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2017-02-08","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-45265); later: PoC-in-GitHub 2023-05-10","url":"https://www.exploit-db.com/exploits/45265","provenance":"source"},{"date":"2017-02-09","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-5941","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.84,"detail":"percentile 0.9918"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 Exploit-DB entries; 2 NVD exploit links; 4 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}