{"id":"CVE-2017-15871","details":"The deserialize function in serialize-to-js through 1.1.1 allows attackers to cause a denial of service via vectors involving an Immediately Invoked Function Expression \"function()\" substring, as demonstrated by a \"function(){console.log(\" call or a simple infinite loop. NOTE: the vendor agrees that denial of service can occur but notes that deserialize is explicitly listed as \"harmful\" within the README.md file","modified":"2026-03-14T09:24:38.185789Z","published":"2017-10-24T20:29:00.203Z","references":[{"type":"REPORT","url":"https://github.com/commenthol/serialize-to-js/issues/3"},{"type":"EVIDENCE","url":"https://kay-malwarebenchmark.github.io/blog/cve-2017-15871-dos-through-iife/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/commenthol/serialize-to-js","events":[{"introduced":"0"},{"last_affected":"5933e034467bdea2a9295a25164ccf9b66d0a8ae"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.1.1"}]}}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.2.0","v0.3.0","v0.3.1","v0.4.0","v0.5.0","v1.0.0","v1.1.0","v1.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15871.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}