davidspek / pipelines

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

CVE-2022-21222 (High) detected in css-what-2.1.2.tgz - autoclosed #601

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-21222 - High Severity Vulnerability

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 HEAD commit: 6f7433f006e282c4f25441e7502b80d73751e38f

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

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mend-bolt-for-github[bot] commented 1 year 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.