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.
Remediation
References
https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170
https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90
Related Vulnerabilities
CVE-2020-6836 Vulnerability in maven package org.webjars.npm:hot-formula-parser
CVE-2021-41269 Vulnerability in maven package com.cronutils:cron-utils
CVE-2012-0394 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2020-5258 Vulnerability in npm package dojo
CVE-2016-10546 Vulnerability in maven package org.webjars:pouchdb