{"id":"GHSA-vx5c-87qx-cv6c","summary":"Arbitrary Code Execution in mathjs","details":"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.\n\n\n## Recommendation\n\nUpdate to version 3.17.0 or later.","aliases":["CVE-2017-1001002"],"modified":"2023-11-08T03:58:48.008756Z","published":"2017-12-18T22:27:45Z","database_specific":{"github_reviewed_at":"2020-06-16T21:58:44Z","nvd_published_at":null,"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001002"},{"type":"WEB","url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vx5c-87qx-cv6c"},{"type":"WEB","url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170"},{"type":"WEB","url":"https://www.npmjs.com/advisories/552"}],"affected":[{"package":{"name":"mathjs","ecosystem":"npm","purl":"pkg:npm/mathjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.17.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/12/GHSA-vx5c-87qx-cv6c/GHSA-vx5c-87qx-cv6c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}