CRITICAL9.8
GHSA-vx5c-87qx-cv6c
Arbitrary Code Execution in mathjs
Quick fix
GHSA-vx5c-87qx-cv6c — mathjs: upgrade to the fixed version with the command below.
npm install mathjs@3.17.0Details
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.
## Recommendation
Update to version 3.17.0 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1001002[ADVISORY]
- https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90[WEB]
- https://github.com/advisories/GHSA-vx5c-87qx-cv6c[ADVISORY]
- https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170[WEB]
- https://www.npmjs.com/advisories/552[WEB]