CVE-2017-5941
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).
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 61.0%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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).
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 61.02% probability · 99th percentile
- Public exploits
- 3 in Exploit-DB · first 8 February 2017
- CISA KEV
- Not listed
- Weakness
- CWE-502
- Affected
- node-serialize project/node-serialize
- Source
- cve@mitre.org
EPSS 61.0% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (3)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-50036source ↗ | Node.JS - 'node-serialize' Remote Code Execution (3)nodejs · Beren Kuday GÖRÜN | webapps | 18 June 2021 | no |
| EDB-49552source ↗ | Node.JS - 'node-serialize' Remote Code Execution (2)nodejs · UndeadLarva | webapps | 10 February 2021 | no |
| EDB-45265source ↗ | Node.JS - 'node-serialize' Remote Code Executionlinux · OpSecX | remote | 8 February 2017 | no |
References
- http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html
- http://www.securityfocus.com/bid/96225Third Party Advisory, VDB Entry
- https://nodesecurity.io/advisories/311Third Party Advisory
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/161356/Node.JS-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/163222/Node.JS-Remote-Code-Execution.html
- http://www.securityfocus.com/bid/96225Third Party Advisory, VDB Entry
- https://nodesecurity.io/advisories/311Third Party Advisory
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.