Description
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
Update the mathjs package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.17.0
- Patched version(s): 3.17.0
References
Related Issues
- Arbitrary Code Execution in mathjs (GHSA-vx5c-87qx-cv6c) - CVE-2017-1001002
- Joplin is vulnerable to arbitrary code execution - CVE-2022-35131
- React Editable Json Tree vulnerable to arbitrary code execution via function parsing - CVE-2022-36010
- [thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values - CVE-2021-21412
- Tags:
- npm
- mathjs
Anything's wrong? Let us know Last updated on September 12, 2023