CVE-2017-15871

Source
https://cve.org/CVERecord?id=CVE-2017-15871
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15871.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-15871
Published
2017-10-24T20:29:00.203Z
Modified
2026-03-14T09:24:38.185789Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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

References

Affected packages

Git / github.com/commenthol/serialize-to-js

Affected ranges

Type
GIT
Repo
https://github.com/commenthol/serialize-to-js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.1.1"
        }
    ]
}

Affected versions

v0.*
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.*
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"