CVE-2017-5941
CriticalPublic exploitCode Execution through IIFE in node-serialize
Published Jul 18, 2018 · Updated Aug 5, 2024 · Also known as GHSA-q4v7-4rhw-9hqm, TR-21-0132
Key Facts
Patch immediately- CVE-2017-5941 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Node-Serialize (Node-Serialize Project).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 61% probability of exploitation in the next 30 days.
- Fixed versions are available, including Node-Serialize 0.0.4.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
61%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2017-5941 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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).
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Node-SerializeNode-Serialize Project | See advisory | 0.0.4 |
Patched Releases
Node-Serialize
0.0.4
Timeline
Publicly disclosed
Jul 18, 2018
Last updated
Aug 5, 2024
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisoryhttps://cxsecurity.com/issue/WLB-2021020050
- advisoryGHSA advisory
- advisoryhttps://nodesecurity.io/advisories/311
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2017-5941
- advisoryhttps://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/
FAQ
Common Questions.
An issue was discovered in the node-serialize package 0.0.4 for Node.js.
Affected: Node-Serialize (Node-Serialize Project). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Node-Serialize 0.0.4.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2017-5941 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo