CVE-2017-5954
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).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.46%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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).
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 4.46% probability · 91th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-502
- Affected
- serialize-to-js project/serialize-to-js
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.