davidspek / pipelines

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

react-9.4.0.tgz: 1 vulnerabilities (highest severity is: 7.5) #739

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago
Vulnerable Library - react-9.4.0.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/frontend/node_modules/@testing-library/dom/node_modules/ansi-regex/package.json,/frontend/node_modules/react-dev-utils/node_modules/ansi-regex/package.json,/frontend/node_modules/snapshot-diff/node_modules/ansi-regex/package.json,/frontend/node_modules/@types/testing-library__dom/node_modules/ansi-regex/package.json,/frontend/node_modules/pretty-format/node_modules/ansi-regex/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (react version) Remediation Possible**
CVE-2021-3807 High 7.5 ansi-regex-4.1.0.tgz Transitive 9.4.1

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

Details

CVE-2021-3807 ### Vulnerable Library - ansi-regex-4.1.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/frontend/node_modules/@testing-library/dom/node_modules/ansi-regex/package.json,/frontend/node_modules/react-dev-utils/node_modules/ansi-regex/package.json,/frontend/node_modules/snapshot-diff/node_modules/ansi-regex/package.json,/frontend/node_modules/@types/testing-library__dom/node_modules/ansi-regex/package.json,/frontend/node_modules/pretty-format/node_modules/ansi-regex/package.json

Dependency Hierarchy: - react-9.4.0.tgz (Root Library) - dom-6.12.2.tgz - testing-library__dom-6.12.1.tgz - pretty-format-24.9.0.tgz - :x: **ansi-regex-4.1.0.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3807

### 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://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994/

Release Date: 2021-09-17

Fix Resolution (ansi-regex): 4.1.1

Direct dependency fix Resolution (@testing-library/react): 9.4.1

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