Description
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 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 - CVE-2017-1001003
- React Editable Json Tree vulnerable to arbitrary code execution via function parsing - CVE-2022-36010
- Trix Editor Arbitrary Code Execution Vulnerability - CVE-2024-34341
- [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 January 09, 2023