tharun453 / samples

Sample code referenced by the .NET documentation
https://docs.microsoft.com/samples/browse
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

CVE-2022-3517 (High) detected in multiple libraries #67

Open mend-bolt-for-github[bot] opened 2 years ago

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

CVE-2022-3517 - High Severity Vulnerability

Vulnerable Libraries - minimatch-0.2.14.tgz, minimatch-2.0.10.tgz, minimatch-0.3.0.tgz, minimatch-3.0.4.tgz

minimatch-0.2.14.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz

Path to dependency file: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/package.json

Path to vulnerable library: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/minimatch/package.json

Dependency Hierarchy: - grunt-0.4.5.tgz (Root Library) - :x: **minimatch-0.2.14.tgz** (Vulnerable Library)

minimatch-2.0.10.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz

Path to dependency file: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/package.json

Path to vulnerable library: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/babel-core/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/grunt-bowercopy/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/jscs/node_modules/minimatch/package.json

Dependency Hierarchy: - grunt-bowercopy-1.2.4.tgz (Root Library) - glob-4.5.3.tgz - :x: **minimatch-2.0.10.tgz** (Vulnerable Library)

minimatch-0.3.0.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz

Path to dependency file: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/package.json

Path to vulnerable library: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/findup-sync/node_modules/minimatch/package.json

Dependency Hierarchy: - grunt-0.4.5.tgz (Root Library) - findup-sync-0.1.3.tgz - glob-3.2.11.tgz - :x: **minimatch-0.3.0.tgz** (Vulnerable Library)

minimatch-3.0.4.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz

Path to dependency file: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/package.json

Path to vulnerable library: /core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/jshint/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/multimatch/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/rimraf/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/grunt-lib-phantomjs/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/vow-fs/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/cli/node_modules/minimatch/package.json,/core/tutorials/buggyamb/BuggyAmb/wwwroot/scripts/jquery-ui-1.12.1/node_modules/commoner/node_modules/minimatch/package.json

Dependency Hierarchy: - grunt-contrib-jshint-0.12.0.tgz (Root Library) - jshint-2.9.7.tgz - :x: **minimatch-3.0.4.tgz** (Vulnerable Library)

Found in HEAD commit: 0d7f1931b9759c22f0469b959114a5d94f8f92e4

Found in base branch: main

Vulnerability Details

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Publish Date: 2022-10-17

URL: CVE-2022-3517

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: 2022-10-17

Fix Resolution: minimatch - 3.0.5


Step up your Open Source Security Game with Mend here