Description
An issue was discovered in the serialize-to-js package 0.5.0 for Node.js. Untrusted data passed into the deserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.securityfocus.com/bid/96223Third Party Advisory, VDB Entry
- https://github.com/commenthol/serialize-to-js/issues/1Issue Tracking, Patch, Third Party Advisory
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/Exploit, Third Party Advisory
- http://www.securityfocus.com/bid/96223Third Party Advisory, VDB Entry
- https://github.com/commenthol/serialize-to-js/issues/1Issue Tracking, Patch, Third Party Advisory
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/Exploit, Third Party Advisory
Timeline
- Published
- Feb 10, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified