{"api_version":"1","generated_at":"2026-07-23T04:32:13+00:00","cve":"CVE-2017-5941","urls":{"html":"https://cve.report/CVE-2017-5941","api":"https://cve.report/api/cve/CVE-2017-5941.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5941","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5941"},"summary":{"title":"CVE-2017-5941","description":"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).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-02-09 19:59:00","updated_at":"2021-06-22 21:15:00"},"problem_types":["CWE-502"],"metrics":[],"references":[{"url":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","refsource":"MISC","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Node.JS Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","name":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Exploiting Node.js deserialization bug for Remote Code Execution | OpSecX","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://nodesecurity.io/advisories/311","name":"https://nodesecurity.io/advisories/311","refsource":"MISC","tags":["Third Party Advisory"],"title":"Node Security Platform | Advisory","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/96225","name":"96225","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Node-serialize Package For Node.js 'unserialize()' Function Remote Code Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"Node.JS Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5941","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5941","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5941","vulnerable":"1","versionEndIncluding":"0.0.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node-serialize_project","cpe5":"node-serialize","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-5941","qid":"982078","title":"Nodejs (npm) Security Update for node-serialize (GHSA-q4v7-4rhw-9hqm)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5941","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://nodesecurity.io/advisories/311","refsource":"MISC","url":"https://nodesecurity.io/advisories/311"},{"name":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/","refsource":"MISC","url":"https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/"},{"name":"96225","refsource":"BID","url":"http://www.securityfocus.com/bid/96225"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html"}]}},"nvd":{"publishedDate":"2017-02-09 19:59:00","lastModifiedDate":"2021-06-22 21:15:00","problem_types":["CWE-502"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node-serialize_project:node-serialize:*:*:*:*:*:node.js:*:*","versionEndIncluding":"0.0.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5941","Ordinal":"102549","Title":"CVE-2017-5941","CVE":"CVE-2017-5941","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5941","Ordinal":"1","NoteData":"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).","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5941","Ordinal":"2","NoteData":"2017-02-09","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5941","Ordinal":"3","NoteData":"2021-06-22","Type":"Other","Title":"Modified"}]}}}