Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mathjs
  4. ›
  5. CVE-2017-1001002

CVE-2017-1001002: Arbitrary Code Execution

November 27, 2017 (updated October 9, 2019)

math.js has an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.

References

  • github.com/josdejong/mathjs/blob/master/HISTORY.md
  • github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90

Code Behaviors & Features

Detect and mitigate CVE-2017-1001002 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.17.0

Fixed versions

  • 3.17.0

Solution

Upgrade to version 3.17.0 or greater.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/mathjs/CVE-2017-1001002.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.