{"id":"CVE-2017-1001002","state":"PUBLISHED","title":"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.","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.","publishedAt":"2017-11-27T14:00:00.000Z","updatedAt":"2024-09-16T16:59:06.220Z","severity":null,"assigner":"joshbressers","products":["math.js math.js"],"affected":[{"vendor":"math.js","product":"math.js","versions":[{"version":"3.17.0","status":"affected"}]}],"references":["https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170","https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:43:05.978Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/1001xxx/CVE-2017-1001002.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-1001002","state":"PUBLISHED","datePublished":"2017-11-27T14:00:00.000Z","dateUpdated":"2024-09-16T16:59:06.220Z","assignerShortName":"joshbressers","assignerOrgId":"46fe6300-5254-4a98-9594-a9567bec8179","dateReserved":"2017-11-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"math.js","product":"math.js","versions":[{"version":"3.17.0","status":"affected"}]}],"references":[{"url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"joshbressers","dateUpdated":"2017-11-27T14:00:00.000Z","orgId":"46fe6300-5254-4a98-9594-a9567bec8179"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"josh@bress.net","ID":"CVE-2017-1001002","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"math.js","version":{"version_data":[{"version_value":"3.17.0"}]}}]},"vendor_name":"math.js"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94: Improper Control of Generation of Code ('Code Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170","refsource":"CONFIRM","url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170"},{"name":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90","refsource":"CONFIRM","url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T22:00:41.675Z"}}]}}}