jorgerdemocorp-mend / WebGoat

Sample Vulnerable Repo
Other
0 stars 0 forks source link

mathjs-2.7.0.tgz: 3 vulnerabilities (highest severity is: 9.8) - autoclosed #75

Closed mend-for-github-com[bot] closed 11 months ago

mend-for-github-com[bot] commented 11 months ago
Vulnerable Library - mathjs-2.7.0.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

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

Path to dependency file: /package.json

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

Found in HEAD commit: da42cb2b156c6b06a6fc9c48ae4f98909d1674cf

Mend has checked all newer package trees, and you are on the least vulnerable package!

Please note: There might be a version that explicitly solves one or more of the vulnerabilities listed below, but we do not recommend it. For more info about the optional fixes, check the "Details" section below.

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (mathjs version) Fix PR available Reachability
CVE-2017-1001002 Critical 9.8 mathjs-2.7.0.tgz Direct N/A
CVE-2017-1001003 Critical 9.8 mathjs-2.7.0.tgz Direct N/A
CVE-2020-7743 High 7.3 mathjs-2.7.0.tgz Direct N/A

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

Details

CVE-2017-1001002 ### Vulnerable Library - mathjs-2.7.0.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **mathjs-2.7.0.tgz** (Vulnerable Library)

Found in HEAD commit: da42cb2b156c6b06a6fc9c48ae4f98909d1674cf

Found in base branch: dev

### Vulnerability 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.

Publish Date: 2017-11-27

URL: CVE-2017-1001002

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2017-1001002

Release Date: 2022-10-03

Fix Resolution: 3.17.0

In order to enable automatic remediation, please create workflow rules

CVE-2017-1001003 ### Vulnerable Library - mathjs-2.7.0.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **mathjs-2.7.0.tgz** (Vulnerable Library)

Found in HEAD commit: da42cb2b156c6b06a6fc9c48ae4f98909d1674cf

Found in base branch: dev

### Vulnerability Details

math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object.

Publish Date: 2017-11-27

URL: CVE-2017-1001003

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2017-1001003

Release Date: 2022-10-03

Fix Resolution: 3.17.0

In order to enable automatic remediation, please create workflow rules

CVE-2020-7743 ### Vulnerable Library - mathjs-2.7.0.tgz

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **mathjs-2.7.0.tgz** (Vulnerable Library)

Found in HEAD commit: da42cb2b156c6b06a6fc9c48ae4f98909d1674cf

Found in base branch: dev

### 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

### 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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7743

Release Date: 2020-10-29

Fix Resolution: 7.5.1

In order to enable automatic remediation, please create workflow rules

mend-for-github-com[bot] commented 11 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.