CVE-2017-5954
Code Execution Through IIFE
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Node.js Security WG.
Beschreibung
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).
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| npm::GitHub Security Advisory npm | serialize-to-js | 1.0.0 |
| npm::Node.js Ecosystem Security Working Group | serialize-to-js | >=1.0.0 |
Referenzen
- http://www.securityfocus.com/bid/96223
- https://github.com/advisories/GHSA-mm62-wxc8-cf7m
- https://github.com/commenthol/serialize-to-js
- https://github.com/commenthol/serialize-to-js/commit/1cd433960e5b9db4c0b537afb28366198a319429
- https://github.com/commenthol/serialize-to-js/issues/1
- https://nvd.nist.gov/vuln/detail/CVE-2017-5954
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution
- https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/