The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.
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.
CVE-2022-3517 - High Severity Vulnerability
Vulnerable Libraries - minimatch-3.0.3.tgz, minimatch-3.0.4.tgz, minimatch-3.0.2.tgz, minimatch-0.3.0.tgz
minimatch-3.0.3.tgz
a glob matcher in javascript
Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/package.json
Dependency Hierarchy: - grunt-npm-install-0.3.1.tgz (Root Library) - npm-3.10.10.tgz - fstream-npm-1.2.0.tgz - fstream-ignore-1.0.5.tgz - :x: **minimatch-3.0.3.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: /package.json
Path to vulnerable library: /node_modules/minimatch/package.json
Dependency Hierarchy: - grunt-1.0.3.tgz (Root Library) - :x: **minimatch-3.0.4.tgz** (Vulnerable Library)
minimatch-3.0.2.tgz
a glob matcher in javascript
Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/nyc/node_modules/minimatch/package.json
Dependency Hierarchy: - grunt-if-0.2.0.tgz (Root Library) - grunt-contrib-nodeunit-1.0.0.tgz - nodeunit-0.9.5.tgz - tap-7.1.2.tgz - nyc-7.1.0.tgz - glob-7.0.5.tgz - :x: **minimatch-3.0.2.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: /package.json
Path to vulnerable library: /node_modules/mocha/node_modules/minimatch/package.json
Dependency Hierarchy: - mocha-2.5.3.tgz (Root Library) - glob-3.2.11.tgz - :x: **minimatch-0.3.0.tgz** (Vulnerable Library)
Found in HEAD commit: b122231e3322e09af113633cfa74ba5f9014c375
Found in base branch: master
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