faizulho / sanity-gatsby-blog

Blog with Gatsby
0 stars 0 forks source link

WS-2021-0154 (Medium) detected in glob-parent-3.1.0.tgz, glob-parent-5.1.1.tgz - autoclosed #321

Closed mend-bolt-for-github[bot] closed 2 years ago

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

WS-2021-0154 - Medium Severity Vulnerability

Vulnerable Libraries - glob-parent-3.1.0.tgz, glob-parent-5.1.1.tgz

glob-parent-3.1.0.tgz

Strips glob magic from a string to provide the parent directory path

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz

Path to dependency file: sanity-gatsby-blog/studio/package.json

Path to vulnerable library: sanity-gatsby-blog/studio/node_modules/glob-parent/package.json,sanity-gatsby-blog/web/node_modules/glob-parent/package.json

Dependency Hierarchy: - gatsby-2.30.2.tgz (Root Library) - babel-plugin-add-module-exports-0.3.3.tgz - chokidar-2.1.8.tgz - :x: **glob-parent-3.1.0.tgz** (Vulnerable Library)

glob-parent-5.1.1.tgz

Extract the non-magic parent path from a glob string.

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz

Path to dependency file: sanity-gatsby-blog/web/package.json

Path to vulnerable library: sanity-gatsby-blog/web/node_modules/gatsby/node_modules/glob-parent/package.json,sanity-gatsby-blog/web/node_modules/chokidar/node_modules/glob-parent/package.json,sanity-gatsby-blog/web/node_modules/fast-glob/node_modules/glob-parent/package.json,sanity-gatsby-blog/studio/node_modules/watchpack/node_modules/glob-parent/package.json,sanity-gatsby-blog/studio/node_modules/eslint/node_modules/glob-parent/package.json

Dependency Hierarchy: - eslint-7.16.0.tgz (Root Library) - :x: **glob-parent-5.1.1.tgz** (Vulnerable Library)

Found in HEAD commit: 13ff8b0dd5a73fd1d56902846ac75a4fd3d63a8c

Vulnerability Details

Regular Expression Denial of Service (ReDoS) vulnerability was found in glob-parent before 5.1.2.

Publish Date: 2021-01-27

URL: WS-2021-0154

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/gulpjs/glob-parent/releases/tag/v5.1.2

Release Date: 2021-01-27

Fix Resolution: glob-parent - 5.1.2


Step up your Open Source Security Game with WhiteSource here

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.