CVE-2017-5941Node-Serialize Insecure Deserialization
Code Execution through IIFE in node-serialize
Published Feb 9, 2017 · 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.
Scores
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
Exploit maturity
Proof of concept
ATLAS score
59/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2017-5941
- advisoryhttps://cxsecurity.com/issue/WLB-2021020050
- advisoryGHSA advisory
- advisoryhttps://nodesecurity.io/advisories/311
- advisoryhttps://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/
- advisoryhttps://www.npmjs.com/package/node-serialize
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
Feb 9, 2017
Last updated
Aug 5, 2024
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisorynvd.nist.gov · CVE-2017-5941
- advisorycxsecurity.com · WLB-2021020050
- advisoryGHSA advisory
- advisorynodesecurity.io · 311
- advisoryopsecx.com · exploiting-node-js-deserialization-bug-for-remo…
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo