Arbitrary Code Execution Affecting org.webjars.bower:mathjs package, versions (,3.17.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSBOWER-479970
  • published28 Nov 2017
  • disclosed18 Nov 2017
  • creditMasato Kinugawa

Introduced: 18 Nov 2017

CVE-2017-1001002  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade mathjs to version 3.17.0 or higher.

Overview

mathjs is an extensive math library for JavaScript and Node.js

Affected versions of the package are vulnerable to Arbitrary Code Execution via typed-function. A malicious user could possibly execute arbitrary code in the JavaScript engine, by creating a typed function with JavaScript code in the name.

CVSS Scores

version 3.1