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).
References
Link | Resource |
---|---|
https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/ | Exploit Third Party Advisory |
https://github.com/commenthol/serialize-to-js/issues/1 | Issue Tracking Patch Third Party Advisory |
http://www.securityfocus.com/bid/96223 | Third Party Advisory VDB Entry |
Configurations
Information
Published : 2017-02-09 23:59
Updated : 2017-03-13 08:23
NVD link : CVE-2017-5954
Mitre link : CVE-2017-5954
JSON object : View
CWE
CWE-502
Deserialization of Untrusted Data
Products Affected
serialize-to-js_project
- serialize-to-js