math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.
References
Link | Resource |
---|---|
https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90 | Patch Third Party Advisory |
https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170 | Third Party Advisory |
Configurations
Information
Published : 2017-11-27 06:29
Updated : 2019-10-09 16:21
NVD link : CVE-2017-1001002
Mitre link : CVE-2017-1001002
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
mathjs
- math.js