GHSA-pv8x-p9hq-j328
Arbitrary Code Execution in mathjs
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2017-1001003
- https://github.com/josdejong/mathjs/commit/a60f3c8d9dd714244aed7a5569c3dccaa3a4e761
- https://github.com/advisories/GHSA-pv8x-p9hq-j328
- https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170
- https://www.npmjs.com/advisories/551