Deserialization in Serialize-To-Js Project

CVE-2017-5954

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).

Vulnerability class: Insecure Deserialization

EPSS: 0.045 (90.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)

Frequently asked questions

What is CVE-2017-5954?
CVE-2017-5954 is a critical-severity vulnerability in Serialize-To-Js Project, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2017-02-10.
How severe is CVE-2017-5954?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2017-5954 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.