CRITICAL9.8
GHSA-pv8x-p9hq-j328
Arbitrary Code Execution in mathjs
Quick fix
GHSA-pv8x-p9hq-j328 — mathjs: upgrade to the fixed version with the command below.
npm install mathjs@3.17.0Details
math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object.
## Recommendation
Upgrade 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-1001003[ADVISORY]
- https://github.com/josdejong/mathjs/commit/a60f3c8d9dd714244aed7a5569c3dccaa3a4e761[WEB]
- https://github.com/advisories/GHSA-pv8x-p9hq-j328[ADVISORY]
- https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170[WEB]
- https://www.npmjs.com/advisories/551[WEB]