davidspek / pipelines

Machine Learning Pipelines for Kubeflow
Apache License 2.0
0 stars 0 forks source link

enzyme-3.10.0.tgz: 2 vulnerabilities (highest severity is: 7.5) #702

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - enzyme-3.10.0.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/css-what/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (enzyme version) Remediation Possible**
CVE-2022-21222 High 7.5 css-what-2.1.2.tgz Transitive 3.11.0
CVE-2021-3803 High 7.5 nth-check-1.0.2.tgz Transitive 3.11.0

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

Details

CVE-2022-21222 ### Vulnerable Library - css-what-2.1.2.tgz

a CSS selector parser

Library home page: https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/css-what/package.json

Dependency Hierarchy: - enzyme-3.10.0.tgz (Root Library) - cheerio-1.0.0-rc.3.tgz - css-select-1.2.0.tgz - :x: **css-what-2.1.2.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

Publish Date: 2022-09-30

URL: CVE-2022-21222

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21222

Release Date: 2022-09-30

Fix Resolution (css-what): 2.1.3

Direct dependency fix Resolution (enzyme): 3.11.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-3803 ### Vulnerable Library - nth-check-1.0.2.tgz

performant nth-check parser & compiler

Library home page: https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/nth-check/package.json

Dependency Hierarchy: - enzyme-3.10.0.tgz (Root Library) - cheerio-1.0.0-rc.3.tgz - css-select-1.2.0.tgz - :x: **nth-check-1.0.2.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

nth-check is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3803

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2021-09-17

Fix Resolution (nth-check): 2.0.1

Direct dependency fix Resolution (enzyme): 3.11.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)