Skip to content

mathjs-4.4.2.tgz: 1 vulnerabilities (highest severity is: 7.3) reachable #7

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - mathjs-4.4.2.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

Library home page: https://registry.npmjs.org/mathjs/-/mathjs-4.4.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mathjs/package.json

Found in HEAD commit: d2708792be12ec4955aee513fffe301dcfefc7d8

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (mathjs version) Remediation Possible** Reachability
CVE-2020-7743 High 7.3 Not Defined 1.7% mathjs-4.4.2.tgz Direct mathjs - 7.5.1,mathjs - 7.5.1

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-7743

Vulnerable Library - mathjs-4.4.2.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

Library home page: https://registry.npmjs.org/mathjs/-/mathjs-4.4.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mathjs/package.json

Dependency Hierarchy:

  • mathjs-4.4.2.tgz (Vulnerable Library)

Found in HEAD commit: d2708792be12ec4955aee513fffe301dcfefc7d8

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

dvna-0.0.1/core/appHandler.js (Application)
  -> mathjs-4.4.2/index.js (Extension)
   -> mathjs-4.4.2/lib/index.js (Extension)
    -> mathjs-4.4.2/lib/expression/index.js (Extension)
     -> mathjs-4.4.2/lib/expression/Parser.js (Extension)
      -> ❌ mathjs-4.4.2/lib/utils/customs.js (Vulnerable Component)

Vulnerability Details

The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.

Publish Date: 2020-10-13

URL: CVE-2020-7743

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 1.7%

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-x2fc-mxcx-w4mf

Release Date: 2020-10-13

Fix Resolution: mathjs - 7.5.1,mathjs - 7.5.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions